Skip to main content

decode_tile

Function decode_tile 

Source
pub fn decode_tile(payload: &[u8]) -> Result<Vec<DecodedLayer>>
Expand description

Decode a full tile payload (the layer frame) into its layers.

Accepts both frame shapes: the aligned frame (ALIGNED_FRAME_FLAG set, with derived padding before each IPC stream) and the legacy unpadded frame written by every archive that predates the flag.