Module Value.D

type t = t
type init = Inflate.window * Cstruct.t * Cstruct.t
type error = [
| `Chunk_too_big of Fpath.t * int * int
| `Decoder of Git__Error.Angstrom.info
| `Decoder_file of Fpath.t * Git__Error.Angstrom.info
| `Decoder_stream of Cstruct.t * Git__Error.Angstrom.info
| `Inflate of Inflate.error
| `Malicious
| `Malicious_file of Fpath.t
| `Result of Cstruct.t * string
| `Too_big of int * int
]
type decoder = Store.Value.D.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