plebeia

Functional storage using Merkle Patricia tree
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library plebeia
Module Plebeia . Value

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