package brotli

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Provides two functions for decompressing Brotli algorithm compressed bytes, files; functions may raise Failure exception

val bytes : ?on_part_decompressed:(Nativeint.t -> unit) -> bytes -> bytes

Decompress compressed byte string with optional callback

val version : string

Brotli decoder version

val file : ?on_part_decompressed:(Nativeint.t -> unit) -> in_filename:string -> out_filename:string -> unit -> unit

Decompress the input file to the output file

OCaml

Innovation. Community. Security.