Module elo

Module elo 

Source
Expand description

%ELO container and record header parsing (no crypto). Mirrors the TypeScript implementation in packages/loro-protocol/src/e2ee.ts for container decode and plaintext header parsing. This module is intentionally crypto-free; consumers can use the parsed aad (exact header bytes) and iv with their own AES-GCM bindings if desired. NOTE: %ELO support on the Rust side is work-in-progress; only the container and header parsing surface is considered stable today.

Structs§

EloDeltaHeader
EloSnapshotHeader
ParsedEloRecord

Enums§

EloHeader
EloRecordKind

Functions§

decode_elo_container
Decode an ELO container into a list of record byte slices. The returned slices borrow from data.
parse_elo_record_header
Parse a single ELO record’s plaintext header, returning header metadata, AAD (the exact header bytes), and a view of the ciphertext bytes.