Helper.Decoder
module D : DECODER
module FS : sig ... end
type error = [
|
`Decoder of D.error
FS.error Error.FS.t
]
val of_file : FS.t -> Fpath.t -> Cstruct.t -> D.decoder -> (D.t, error) Stdlib.result Lwt.t
of_file t f tmp state decodes from the file f a value using state and tmp as intermediary buffer.
of_file t f tmp state
f
state
tmp