Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Manual input sources and output destinations.
Warning. Use only with `Manual
decoders and encoders.
val src : decoder -> Stdlib.Bytes.t -> int -> int -> unit
src d s j l
provides d
with l
bytes to read, starting at j
in s
. This byte range is read by calls to decode
until `Await
is returned. To signal the end of input call the function with l = 0
.
val dst : encoder -> Stdlib.Bytes.t -> int -> int -> unit