package git-mirage

  1. Overview
  2. Docs
type t = t
type init = Inflate.window * Cstruct.t * Cstruct.t
type error = [
  1. | Git.Error.Decoder.t
  2. | `Inflate of Inflate.error
]
type decoder
val pp_error : error Fmt.t
val to_result : Cstruct.t -> (t, error) Stdlib.result
val default : init -> decoder
val eval : decoder -> [ `Await of decoder | `End of Cstruct.t * t | `Error of Cstruct.t * error ]
val refill : Cstruct.t -> decoder -> (decoder, error) Stdlib.result
val finish : decoder -> decoder
OCaml

Innovation. Community. Security.