Skip to main content

decode_inner_chunk

Function decode_inner_chunk 

Source
pub fn decode_inner_chunk(
    layout: &ArrayLayout,
    payload: &[u8],
) -> Result<Vec<u16>, DecodeError>
Expand description

One inner chunk’s payload decoded to codes at the full inner shape, time_chunk × tile_height × tile_width, padding included: the container’s chunk path, with the Zstandard frame’s content checksum required. Codes come out as u16 whatever the array’s width, so a series reader reads both widths through one path.