Appearance
cellpack::scans::pack_chunk
Module contract · All interfaces
At a glance
Page packing of a chunk’s records. Rewrites chunk with its records packed to page-byte pages (see the module docs) into out, which must hold packed_len bytes. Every record then reads ceil(len / page) pages once the chunk is stored at a page-aligned position. Decoding is unchanged. Returns the packed length.
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.