Function mz_repr::datums_size

source ·
pub fn datums_size<'a, I, D>(iter: I) -> usize
where I: IntoIterator<Item = D>, D: Borrow<Datum<'a>>,
Expand description

Number of bytes required by a sequence of datums.

This method can be used to right-size the allocation for a Row before calling RowPacker::extend.