package core_kernel

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=fd2b8c6715794df7a810a62b226f53720f211cd344b4afc9fab0498796d6b466

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

Module Iobuf.BlitSource

Blit copies between iobufs and advances neither src nor dst.

Sourceval blit : (([> Core.read ], _) t, ([> Core.write ], _) t) Base.Blit.blit
Sourceval blito : (([> Core.read ], _) t, ([> Core.write ], _) t) Base.Blit.blito
Sourceval unsafe_blit : (([> Core.read ], _) t, ([> Core.write ], _) t) Base.Blit.blit
Sourceval sub : (([> Core.read ], _) t, (_, _) t) Base.Blit.sub
Sourceval 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.