package core_kernel
Module Iobuf.PokeSource
Poke.bin_prot X.bin_write_t t x writes x to the beginning of t in binary form without advancing. You can use X.bin_size_t to tell how long it was. X.bin_write_t is only allowed to write that portion of the buffer you have access to.
decimal t ~pos i returns the number of bytes written at pos.
Source
val bin_prot_size :
'a Core.Bin_prot.Type_class.writer ->
(Core.read_write, _) t ->
pos:int ->
'a ->
intAs bin_prot but returns the number of bytes written.