package plebeia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

3 Core

Module encapsulating the values inserted in the Patricia tree.

3 Core

type t

Type of a value.

val encoding : t Data_encoding.t

Encoding

<- 4 bytes -> <--- len bytes ---> +----------------+-------------------+ |len (big endian)| value as string | +----------------+-------------------+

val of_string : string -> t
val to_string : t -> string
val of_bytes : bytes -> t
val to_bytes : t -> bytes

conversions between binary bytes

val to_hex : t -> Hex.t
val to_hex_string : t -> string
val length : t -> int

length in bytes

val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.