Skip to main content

series_from_chunks

Function series_from_chunks 

Source
pub fn series_from_chunks<'a>(
    layout: &ArrayLayout,
    row: u32,
    column: u32,
    chunks: impl IntoIterator<Item = Option<&'a [u8]>>,
) -> Result<Vec<u16>, DecodeError>
Expand description

One cell’s code on every frame of the axis, in axis order. chunks holds the payload of the cell’s tile (tile_cell) in each time chunk, in order, None for a chunk the shard never held, which reads as the fill value. Each chunk is decoded and let go: a series touches every one once. Codes come out as u16 for either width.