type t = t
type init = Inflate.window * Cstruct.t * Cstruct.t
val to_result : Cstruct.t -> (t, error) Stdlib.result
val refill : Cstruct.t -> decoder -> (decoder, error) Stdlib.result
Loose.D
The decoder of the Git object. We constraint the input to be an Inflate.window
and a Cstruct.t
which used by the Inflate
module and an other Cstruct.t
as an internal buffer.
All error from the Inflate
module is relayed to the `Inflate
error value.
The decoder includes an header process. This decoder does not correspond directly to a de-serialized Git object but a de-serialized Git loose object.
type t = t
type init = Inflate.window * Cstruct.t * Cstruct.t
val to_result : Cstruct.t -> (t, error) Stdlib.result
val refill : Cstruct.t -> decoder -> (decoder, error) Stdlib.result