package core_kernel

  1. Overview
  2. Docs

Module Iobuf.UnsafeSource

Unsafe has submodules that are like their corresponding module, except with no range checks. Hence, mistaken uses can cause segfaults. Be careful!

Sourcemodule Consume : module type of Consume

Consume.string t ~len reads len characters (all, by default) from t into a new string and advances the lower bound of the window accordingly.

Sourcemodule Fill : module type of Fill

Fill.bin_prot X.bin_write_t t x writes x to t in bin-prot form, advancing past the bytes written.

Sourcemodule Peek : sig ... end
Sourcemodule Poke : sig ... end