Module Helper.MakeInflater

Parameters

module Z : sig ... end
module A : sig ... end

Signature

type t = A.e
type init = Z.window * Cstruct.t * Cstruct.t
type error = [
| Error.Decoder.t
| `Inflate of Z.error
]
type decoder
val pp_error : error Fmt.t
val to_result : Cstruct.t -> (terror) 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 -> (decodererror) Stdlib.result
val finish : decoder -> decoder