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
Library plebeia
val encode : t -> string
len/8+1 bytes.
<--- len / 8 + 1 bytes -----------> <--- len bits ------------> +---------------------------+-------+ | segment bits (len bits) |10
,7
| +---------------------------+-------+
At most 7 zeros at tail.
Examples:
data | binary ----------------------------- empty segment | 80 LRLRLRLRL | 5540 LRLRLRLR | 5580 RRRRRRRRRRRRRRRRRRRR | fffff8
val decode : string -> t option
val decode_exn : string -> t
val encode_list : t list -> string
val decode_list : string -> t list option
val decode_list_slice : (string * int) -> (t list * int) option
slice version
ON THIS PAGE
No table of contents