package bytesrw

  1. Overview
  2. Docs
Composable byte stream readers and writers for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

bytesrw-0.4.1.tbz
sha512=9d4d65ff080a107f2ed35c4f13ac77c20e4920e92dffe84c270f23169d7db130506a450aa83a6c6c621ce80b699191291fb8be227d1fb47fb5fd49ddc150b37e

doc/bytesrw.zstd/Bytesrw_zstd/Dctx_params/index.html

Module Bytesrw_zstd.Dctx_paramsSource

Decompression parameters.

Sourcetype t

The type for decompression parameters.

Sourceval make : ?init:t -> ?window_log_max:int -> unit -> t

make () are the given compression parameters. Those unspecfied take the value of init which defaults to default. See corresponding accessors for the default values.

Sourceval default : t

default are the default paramaters. See accessors for the default values.

Sourceval window_log_max : t -> int

window_log_max is the maximum back-reference distance in power of two allowed for decoding. Errors if the stream requires more. 0 is the default maximum window. This can be used to limit the memory used for decoding.