Expand description
Explicit bulk field adapters within the single Serde/Postcard codec.
Select using #[serde(with = "ic_wire::serde_packed::bools")] (or another
adapter below). Ordinary fields are never rewritten. Adoption changes traversal
accounting and, except for bools, ordinary-list bytes. Preserve field bounds,
coordinate clients and retain original retry/hash bytes. Reference contracts
and qualification are recorded in docs/design/parity.md.
Modulesยง
- bools
- Checked boolean bytes, projected as a browser boolean array.
- finite_
f32 - Finite little-endian float byte fields. Preserves signed zero and subnormals.
- finite_
f64 - Finite little-endian float byte fields. Preserves signed zero and subnormals.
- heap_
u64 - Packed heap backing order; decoding reconstructs the heap. Re-encoding may reorder accepted input. Retain original signed/retry bytes.
- nonzero_
i64 - Packed signed words retaining the nonzero domain rule.