release s immediately releases the storage associated with message segment s, potentially making the storage available for future allocations. After releasing a storage segment, the behavior of the accessor functions is undefined.
set_uintXX s ofs val writes the value of the width-restricted unsigned integer val into read/write-qualified message segment s, starting at byte offset ofs.
set_intXX s ofs val writes the value of the width-restricted signed integer val into read/write-qualified message segment s, starting at byte offset ofs.
val blit :
src:'capt->src_pos:int ->dst:rwt->dst_pos:int ->len:int ->
unit
blit ~src ~src_pos ~dst ~dst_pos ~len transfers len bytes from position dst_pos in dst to position src_pos in pos. The blit operation shall work correctly even for the case of overlapping buffers.
val blit_to_bytes :
src:'capt->src_pos:int ->dst:Bytes.t->dst_pos:int ->len:int ->
unit
As blit, but the destination is a bytes buffer.
val blit_from_string :
src:string ->src_pos:int ->dst:rwt->dst_pos:int ->len:int ->
unit