package ozstd

  1. Overview
  2. Docs

Module Decompressor.ContextSource

A reusable decompression context.

Sourcetype t
Sourceval create : unit -> t

create () allocates a new decompression context.

Sourceval set_size_limit : t -> int -> unit

set_size_limit context size sets the internal decompression buffer size limit for context.

Sourceval load_dictionary : t -> Dictionary.t -> unit

load_dictionary context dictionary loads dictionary into context.