package cactus

  1. Overview
  2. Docs

Module Entry.KeySource

Sourcetype t

The type for keys.

Sourcetype input_key = input_key
Sourceval size : int
Sourceval min : t
Sourceval of_input : input_key -> t
Sourceval to_input : t -> input_key
Sourceval empty : t
Sourceval equal : t -> t -> bool

The equality function for keys.

Sourceval compare : t -> t -> int
Sourceval set : marker:(unit -> unit) -> bytes -> off:int -> t -> unit
Sourceval get : bytes -> off:int -> t
Sourceval dump : t -> string
Sourceval pp : Format.formatter -> t -> unit