Peek
and Poke
functions access a value at pos
from the lower bound of the window
and do not advance.
Peek.bin_prot X.bin_read_t t
returns the initial X.t
in t
without advancing.
Following the bin_prot
protocol, the representation of x
is X.bin_size_t x
bytes
long. Peek.
, Poke.
, Consume.
, and Fill.bin_prot
do not add any size prefix or
other framing to the bin_prot
representation.
('d, 'w) Iobuf.t
accessor function manipulating 'a
, either writing it to the
iobuf or reading it from the iobuf.