Skip to main content

Module entity_codec

Module entity_codec 

Source
Expand description

Canonical logical entity adapter for native store versions V1 through V14. Physical record framing and value bytes remain owned by reddb-file.

Functionsยง

read_entity_binary
Decode one entity, retaining legacy optional-tail compatibility. All reads are checked before indexing or allocating from persisted lengths.
read_entity_binary_with_budget
required_file_capabilities
Mandatory paged-file capabilities needed by an encoded entity.
required_file_capabilities_for_contract
Mandatory paged-file capabilities promised by a persisted collection schema.
write_entity_binary
Write entity to binary buffer