Skip to main content

decode_versioned_sync_frame

Function decode_versioned_sync_frame 

Source
pub fn decode_versioned_sync_frame(data: &[u8]) -> Result<SyncFrame>
Expand description

Decode a versioned-envelope-wrapped SyncFrame.

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