Appearance
cellpack::scans::decode_parts
Module contract · All interfaces
At a glance
pub fn decode_parts<'w, 'm: 'w>(
meta: &Meta<'m>,
tables: &DecodeTables,
rec: &'w [u8],
space: IdSpace,
ws: &'w mut [u64],
) -> Result<Parts<'w>>Record and chunk decoding: CSR arrays, dense rows and Parts views, plus the workspace sizing those calls need. Decodes one record (from a chunk with this metadata, read however the caller likes) into a Parts view borrowing the workspace and record.
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.