Legend:
Library
Module
Module type
Parameter
Class
Class type

Manual sources.

val refill_string : t -> string -> int -> int -> unit

refill_string d s k l provides d with l bytes to read, starting at k in s. This byte range is read by calls to decode with d until `Await is returned. To signal the end of input call the function with l = 0.

Warning. Do not use with non-`Manual decoder sources.

val refill_bytes : t -> Bytes.t -> int -> int -> unit