Skip to main content

Crate reifydb_codec

Crate reifydb_codec 

Source
Expand description

Unified encoding and decoding for ReifyDB. Every byte layout that crosses a boundary lives here: the single type-tag namespace, the canonical self-describing value codec, the RBCF columnar frame format, the row storage codec, the order-preserving key codec, and the FFI cell codecs.

Invariant: encode and decode halves are colocated in this crate and share one tag scheme. A tag, layout, or width change is a coordinated workspace change; no consumer may hand-roll these bytes.

Modules§

constraint
encoded
Canonical on-disk and on-wire byte layouts for every primitive value the database stores or transmits.
error
ffi
frame
json
key
Order-preserving codec used to turn typed keys into the bytes that go on disk.
reader
tag
typeinfo
value

Macros§

key_prefix