Skip to main content

Module blean

Module blean 

Source
Expand description

blean, the binary export format.

MAGIC, then every Record in order, postcard encoded, each expression record followed by its Info, ending with Record::End. Strings decode without copying, so a memory-mapped file is read in place.

Structs§

Blean
Writes records as blean.
Entries
Iterator returned by entries.

Constants§

MAGIC
File signature; the final byte is the format version.

Functions§

counts
The table sizes a complete blean file declares in its last 12 bytes, for presizing before reading. entries checks them against the records.
entries
The records of a complete blean file with each expression’s info.
read
Replay a complete blean file into sink.
sniff
Whether bytes starts like a blean file.