Skip to main content

compute_record_stride

Function compute_record_stride 

Source
pub fn compute_record_stride(variables: &[NcVariable]) -> u64
Expand description

Compute the record stride: total bytes per record across all record variables.

Each record variable’s per-record contribution is its record_size (already stored as vsize from the header), padded to 4-byte boundary.