Skip to main content

decode_entry

Function decode_entry 

Source
pub fn decode_entry(data: &[u8]) -> Result<MetadataEntry, ClusterError>
Expand description

Decode a MetadataEntry from bytes.

Requires a v2 versioned envelope. Rejects bytes without the envelope marker and envelopes with unsupported future version numbers.