Structs

Pre-V5 frame encoder which simply encodes one envelope directly in the buffer.
Post-V5 Lz4 encoder with support for envelope frames with CRC checksum.
Post-V5 encoder with support for envelope frames with CRC checksum.

Traits

An encoder for frames. Since protocol v5, frames became “envelopes” and a frame now can contain multiple complete envelopes (self-contained frame) or a part of one bigger envelope.