package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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 -> ?src_pos:int -> dst:([> Core.write ], _) t -> ?dst_pos:int -> unit -> int

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

OCaml

Innovation. Community. Security.