Module Iobuf.Blit
Blit copies between iobufs and advances neither src nor dst.
include Core__.Import.Blit.S_permissions with type 'rw t := 'rw t_no_seek
- val blit : ([> Core_kernel.Perms.Export.read ] t, [> Core_kernel.Perms.Export.write ] t) Base.Blit.blit
- val blito : ([> Core_kernel.Perms.Export.read ] t, [> Core_kernel.Perms.Export.write ] t) Base.Blit.blito
- val unsafe_blit : ([> Core_kernel.Perms.Export.read ] t, [> Core_kernel.Perms.Export.write ] t) Base.Blit.blit
- val sub : ([> Core_kernel.Perms.Export.read ] t, [< _ Core_kernel.Perms.Export.perms ] t) Base.Blit.sub
- val subo : ([> Core_kernel.Perms.Export.read ] t, [< _ Core_kernel.Perms.Export.perms ] t) Base.Blit.subo
- val sub : ([> Core__.Import.read ], no_seek) t -> pos:int -> len:int -> (_, _) t
- Override types of - suband- suboto allow return type to have- seekas needed.
- val subo : ?pos:int -> ?len:int -> ([> Core__.Import.read ], no_seek) t -> (_, _) t
- val blit_maximal : src:[> Core__.Import.read ] t_no_seek -> ?src_pos:int -> dst:[> Core__.Import.write ] t_no_seek -> ?dst_pos:int -> unit -> int
- Copies as much as possible (returning the number of bytes copied) without running out of either buffer's window.