Module Iobuf.Expert

module Expert: sig .. end
The Expert module is for building efficient out-of-module Iobuf abstractions.

They will not allocate, and are mainly here to assist in building low-cost syscall wrappers.

One must be careful to avoid writing out of the limits (between lo_min and hi_max) of the buf. Doing so would violate the invariants of the parent Iobuf.


val buf : ('a, 'b) Iobuf.t -> Core_kernel.Std.Bigstring.t
val hi_max : ('a, 'b) Iobuf.t -> int
val hi : ('a, 'b) Iobuf.t -> int
val lo : ('a, 'b) Iobuf.t -> int
val lo_min : ('a, 'b) Iobuf.t -> int