Skip to content
API REFERENCEUsage guides →

cellpack::scans::encode_workspace_words ​

fn

Module contract · All interfaces

At a glance ​

pub fn encode_workspace_words(n_genes: u32, max_elems: usize) -> usize

Chunk and record encoding, the reusable PreparedEncoder, and the output and workspace bounds of both. Encode workspace in u64 words for records of at most max_elems stored elements (see crate::format::Meta::max_elems).

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.

Definition