package zstandard

  1. Overview
  2. Docs
val compress : compression_level:int -> input:Input.t -> output:'a Output.t -> 'a

Compresses input as a single frame. Raises an Error in case of failure.

val decompress : input:Input.t -> output:'a Output.t -> 'a

input should contain an exact number of frames. Raises Error in case of failure.

OCaml

Innovation. Community. Security.