package core_kernel
Module Iobuf.PeekSource
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.
Similar to Consume.To_*, but do not advance the buffer.
Source
module To_bytes :
Core.Blit.S1_distinct
with type 'seek src := 'seek src
with type _ dst := Core.Bytes.tSource
module To_bigstring :
Core.Blit.S1_distinct
with type 'seek src := 'seek src
with type _ dst := Core.Bigstring.t