release s immediately releases storage s, potentially making the storage available for future allocations. After releasing a storage segment, the behavior of the accessor functions is undefined.
val blit : src:t->src_pos:int ->dst:t->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:t->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:t->dst_pos:int ->len:int ->
unit