Expand description
LibParcel-1.0 envelope codec; raw DEFLATE body, CRC-32 of the raw payload.
Structsยง
- Codec
- Validated parcel codec; construct with
Codec::newand reuse across calls. - Codec
Config - Builder-style configuration for
Codec; optional fields fall back to SPEC defaults. - Decode
Meta - Metadata returned alongside the decoded payload.
- Decoded
Parcel - Decoded parcel: the recovered payload bytes plus envelope metadata.
Constantsยง
- CHECKSUM_
LEN ๐ - DEFAULT_
MAX_ DECODED_ BODY - Default cap on the size of the base64-decoded body.
- DEFAULT_
MAX_ ENCODED_ LEN - Default cap on the total length of the encoded string.
- DEFAULT_
MAX_ PAYLOAD_ BYTES - Default cap on the size of the raw payload after inflate.
- FIELD_
SEPARATOR ๐ - FIELD_
SEPARATOR_ ๐LEN - LABEL_
WIDTH ๐ - PREVIEW_
BYTES ๐ - READ_
CHUNK ๐
Functionsยง
- compress_
raw_ ๐deflate - decompress_
raw_ ๐deflate - format_
inspect ๐ - hex_
nibble ๐ - is_
valid_ ๐content_ type