plebeia
Functional storage using Merkle Patricia tree
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package plebeia
-
plebeia
-
-
plebeia.msync
-
plebeia.test_utils
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Type of the prefix part of hash. The length is not fixed in this implementation.
Please note that there is no typing guarantee to prevent merging different size of hashes.
val to_string : t -> string
Get the bytes
bytes binary string representation of t
.
val of_string : string -> t
bytes
bytes binary string representation to t
. Note: no check of length.
val length : t -> int
val zero : int -> t
zero n
returns n
bytes of zeros
val to_hex_string : t -> string
Convert to bytes * 2
chars of hexdigits
val of_hex_string : string -> t
Reverse of to_hex_string
. Fails if the string is inappropriate.
val show_ref : ( t -> string ) Stdlib.ref
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val encoding : int -> t Data_encoding.t
Encoding: fixed length bytes. The size is given as the argument.
val to_32byte_string : t -> string
ON THIS PAGE
No table of contents