module Peek:sig
..end
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.
typesrc =
(Core_kernel.Std.read, no_seek) Iobuf.t
Consume.To_*
, but do not advance the buffer.module To_string:Blit.S_distinct
with type src := src
with type dst := string
module To_bigstring:Blit.S_distinct
with type src := src
with type dst := Bigstring.t
include Accessors