zstandard

OCaml bindings to Zstandard
type t
val create : unit -> t
val decompress : t -> inbuf:Core.Bigstring.t -> inpos:int -> inlen:int -> outbuf:Core.Bigstring.t -> outpos:int -> outlen:int -> int * int
val free : t -> unit

free t deallocate the underlying datastructure. Subsequent uses of t will cause exceptions.