Neodriver_packstream.PackstreamPackStream — binary serialization for the Neo4j Bolt protocol.
See packstream.ml for the implementation.
type value = | Null| Bool of bool| Int of int64| Float of float| String of string| Bytes of bytes| List of value list| Map of (string * value) list| Structure of int * value list| Uuid of stringA PackStream value; Structure carries a tag byte and its fields. Uuid (Bolt 6.1) carries a UUID in its canonical hyphenated lowercase text.
Limits for unpack, guarding against stack overflow on deeply nested values.
val default_limits : limitsDefault limits: max_depth = 256.
val pack : value -> Stdlib.Bytes.tSerialize a value into its PackStream byte representation.
Deserialize a value from PackStream bytes, subject to the given limits (defaults to default_limits).
val error_to_string : error -> stringRender a decode error as a human-readable message.
val to_string : value -> stringRender a value as a human-readable string.