Input and output functions for the Biniou serialization format
31-bit hash
Hash function used to compute field name tags and variant tags from their full name.
Compute the hash of each string of the input list and return a function that converts a hash back to the original string. Lookups do not allocate memory blocks.
Failure
if the input list contains two different strings
with the same hash.
7-bit int used to represent a num_variant tag.
The write_untagged_
functions write an untagged value (VAL)
to an output buffer
while the other write_
functions write a tagged value (TAGVAL).
The read_untagged_
functions read an untagged value (VAL)
from an input buffer.
Tree representing serialized data, useful for testing and for untyped transformations.
Prints a human-readable representation of the data into a string.
Prints a human-readable representation of the data to stdout.
Prints a human-readable representation of the data to an out_channel.
Check that certain low-level hacks work as expected