pub fn compute_record_stride(variables: &[NcVariable]) -> Result<u64>Expand description
Compute the record stride: total bytes per record across all record variables.
Each record variable’s per-record contribution is its unpadded
record_size (derived from its dimensions), padded to a 4-byte boundary —
except in the spec’s special case of exactly one record variable, whose
records are packed without padding.