Expand description
Composite wire encoding for values, EDN forms, datoms, and schema.
Single values reuse the sortable tag space from corium-core; composite
payloads extend it with container tags and a per-message interning table
for keywords and repeated strings (see docs/design/protocol.md). The
composite variant is length-prefixed rather than escaped, and keywords
travel by name so no shared interner state is required across processes.
Structs§
- Reader
- Streaming reader over one wire message.
- Writer
- Streaming writer with a per-message string interning table.
Enums§
- Codec
Error - Codec failure.
Functions§
- decode_
datoms - Decodes a datom list, interning keyword names into
interner. - decode_
edn - Decodes one EDN form from a standalone message.
- decode_
naming - Decodes an interner snapshot; re-interning in order reproduces dense ids.
- decode_
schema - Decodes a schema/ident handshake payload.
- encode_
datoms - Encodes a datom list; keyword values travel by name via
interner. - encode_
edn - Encodes one EDN form as a standalone message.
- encode_
naming - Encodes an interner snapshot (keywords in dense id order).
- encode_
schema - Encodes schema attributes plus the ident registry (handshake payload).