Module Tapak_compressions.Brotli

type decoder_state
type encoder_state
type decoder_result =
  1. | Error
  2. | Success
  3. | Needs_more_input
  4. | Needs_more_output
val decoder_create_instance : unit -> decoder_state
val decoder_destroy_instance : decoder_state -> unit
val decompress_stream_native : decoder_state -> string -> int -> int * int * string
val encoder_create_instance : int -> encoder_state
val encoder_destroy_instance : encoder_state -> unit
type encoder_operation =
  1. | Process
  2. | Flush
  3. | Finish
val compress_stream_native : encoder_state -> string -> int -> int -> bool * int * string * bool
module Decoder : sig ... end
module Encoder : sig ... end