package cactus

  1. Overview
  2. Docs

Module Common.PointerSource

A pointer is an offset inside a page.

Modules of this type are an abstraction barrier between the in-memory and on-disk representation of the metadata.

Sourcetype t
Sourceval set : marker:(unit -> unit) -> bytes -> off:int -> t -> unit

set marker buff off t sets the field value in buff at offset off. marker is a function to mark a page as dirty.

Sourceval get : bytes -> off:int -> t
Sourceval size : int
Sourceval to_t : int -> t
Sourceval from_t : t -> int
Sourceval pp : t Fmt.t
Sourceval pp_raw : Format.formatter -> bytes -> off:int -> unit
OCaml

Innovation. Community. Security.