package core_kernel

  1. Overview
  2. Docs
Industrial strength alternative to OCaml's standard library

Install

Dune Dependency

Authors

Maintainers

Sources

core_kernel-v0.16.0.tar.gz
sha256=e37370bad978cfb71fdaf2b1a25ab1506b98ef0b91e0dbd189ffd9d853245ce2

doc/core_kernel.iobuf/Iobuf/Blit/index.html

Module Iobuf.BlitSource

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
Sourceval 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
Sourceval 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.