Appearance
cellpack::scans::decode_record
Module contract · All interfaces
At a glance
pub fn decode_record<I: IndexOut>(
meta: &Meta<'_>,
tables: &DecodeTables,
rec: &[u8],
space: IdSpace,
indices: &mut [I],
values: &mut [u8],
ws: &mut [u64],
) -> Result<usize>Record and chunk decoding: CSR arrays, dense rows and Parts views, plus the workspace sizing those calls need. Decodes one record into indices and values, which must hold at least its nnz entries (see Meta::cell_nnz or format::record_nnz). Indices ascend in space. Returns the nnz.
Contract reference
See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.