Expand description
Serialize / deserialize helpers for MetadataEntry.
Entries are wrapped in a crate::wire_version::Versioned envelope so
future variant additions can be detected and rejected cleanly on older
nodes rather than silently misinterpreted.
Functions§
- decode_
entry - Decode a
MetadataEntryfrom bytes. - encode_
entry - Encode a
MetadataEntryinto a v2 versioned wire envelope.