package index

  1. Overview
  2. Docs

Parameters

module K : Key
module V : Value

Signature

type t = private {
  1. key : K.t;
  2. key_hash : int;
  3. value : V.t;
}
val t : t Repr.t
val v : K.t -> V.t -> t
val encoded_size : int
val decode : string -> int -> t
val decode_key : string -> int -> K.t * int
val decode_value : string -> int -> V.t
val encode : t -> (string -> unit) -> unit
val encode' : K.t -> V.t -> (string -> unit) -> unit
val compare : t -> t -> int