Skip to main content

decode_snapshot

Function decode_snapshot 

Source
pub fn decode_snapshot(b: &[u8]) -> ArrayResult<TileSnapshot>
Expand description

Decode a TileSnapshot from MessagePack bytes produced by encode_snapshot.

Errors map to ArrayError::SegmentCorruption.