Skip to main content

Module binary

Module binary 

Source
Expand description

Binary encoding and decoding for RDF terms

This implementation is extracted and adapted from Oxigraph’s binary_encoder.rs to provide zero-dependency binary serialization with optimal storage efficiency.

Enums§

QuadEncoding
Quad encoding variations for different sort orders

Constants§

WRITTEN_TERM_MAX_SIZE
Maximum size of an encoded term in bytes

Functions§

decode_term
Decodes a term from a binary representation
encode_term
Encodes a term to a binary representation