Expand description
Stable named-field MessagePack encoding helpers. Stable batpak encoding helpers.
These helpers expose the crate’s current named-field MessagePack bytes so
consumers can produce the same encoded extension bytes batpak stores and
signs. Public report-body bytes are patch-stable only where a schema version
and golden fixture pin that boundary. The implementation intentionally pins
the exact rmp-serde encoder version; bumping it requires refreshing the
relevant goldens and reviewing ADR-0019. This module does not implement
protocol-specific canonicalization such as JSON Canonicalization Scheme.
Functions§
- from_
bytes - Decode
valuefrom batpak’s stable named-field MessagePack surface. - to_
bytes - Encode
valueusing batpak’s stable named-field MessagePack surface.