module type VALUE = sig ... endtype bigstring = (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.ttype 'a blitter = 'a -> int -> bigstring -> int -> int -> unitval pp_chr : char Fmt.tval pp_scalar : get:('buffer -> int -> char) -> length:('buffer -> int) -> 'buffer Fmt.tval pp_string : string Fmt.tval pp_bytes : Stdlib.Bytes.t Fmt.tmodule RBA : Ke.Sigs.Weighted.Fmodule Buffer : sig ... endmodule IOVec : sig ... endtype 'v state = | Flush of {
} | ||
| Continue of {
} | ||
| End of 'v |
val create : int -> encoderval has : encoder -> intval schedule : (encoder -> 'r state) -> length:('v -> int) -> buffer:('v -> Buffer.t) -> ?off:int -> ?len:int -> 'v -> encoder -> 'r stateval schedule_string : (encoder -> 'r state) -> encoder -> ?off:int -> ?len:int -> string -> 'r stateval schedule_bytes : (encoder -> 'r state) -> encoder -> ?off:int -> ?len:int -> Stdlib.Bytes.t -> 'r stateval schedule_bigstring : (encoder -> 'r state) -> encoder -> ?off:int -> ?len:int -> bigstring -> 'r stateval schedulev : (encoder -> 'r state) -> ((Buffer.t -> int) * int option * int option * Buffer.t) list -> encoder -> 'r stateval write : (encoder -> 'r state) -> blit:'v blitter -> length:('v -> int) -> ?off:int -> ?len:int -> 'v -> encoder -> 'r stateval writev : (encoder -> 'r state) -> ('v blitter * ('v -> int) * int option * int option * 'v) list -> encoder -> 'r stateval bigarray_blit_from_string : string blitterval bigarray_blit_from_bytes : Stdlib.Bytes.t blitterval write_bytes : ?off:int -> ?len:int -> Stdlib.Bytes.t -> (encoder -> 'r state) -> encoder -> 'r stateval write_bigstring : ?off:int -> ?len:int -> bigstring -> (encoder -> 'r state) -> encoder -> 'r statemodule type S = sig ... end