package core_kernel
Module Iobuf.BlitSource
Blit copies between iobufs and advances neither src nor dst.
Source
val blit_maximal :
src:([> Core.read ], _) t ->
?src_pos:int ->
dst:([> Core.write ], _) t ->
?dst_pos:int ->
unit ->
intCopies as much as possible (returning the number of bytes copied) without running out of either buffer's window.