Module Iobuf.Blit

Blit copies between iobufs and advances neither src nor dst.

val blit : (([> Core.read ], _, _) t, ([> Core.write ], _, _) t) Base.Blit.blit
val blito : (([> Core.read ], _, _) t, ([> Core.write ], _, _) t) Base.Blit.blito
val unsafe_blit : (([> Core.read ], _, _) t, ([> Core.write ], _, _) t) Base.Blit.blit
val sub : (([> Core.read ], _, _) t, (_, _, _) t) Base.Blit.sub
val subo : (([> Core.read ], _, _) t, (_, _, _) t) Base.Blit.subo
val blit_maximal : src:([> Core.read ], _, _) t @ local -> (?src_pos:int -> (dst:([> Core.write ], _, _) t @ local -> (?dst_pos:int -> (unit -> int) @ local) @ local) @ local) @ local

Copies as much as possible (returning the number of bytes copied) without running out of either buffer's window.