module Decompress : sig ... end
Provides two functions for decompressing Brotli algorithm compressed bytes, files; functions may raise Failure exception. Note that on_part_decompressed and on_part_compressed require OCaml to acquire and release the runtime lock repeatedly.
module Compress : sig ... end
Provides functions for compression using the Brotli algorithm with adjustable parameters, defaults are what Google uses. Be aware that compression may raise Failure exception