Module Zstandard.With_explicit_context
val compress : Compression_context.t -> compression_level:int -> input:Input.t -> output:'a Output.t -> 'a
Compresses
input
as a single frame. Raises anError
in case of failure.
val decompress : Decompression_context.t -> input:Input.t -> output:'a Output.t -> 'a
input
should contain an exact number of frames. RaisesError
in case of failure.