Function pack_array

Source
pub fn pack_array<T, A, I, V>(buf: &mut T, iter: A) -> usize
where T: Extend<u8>, A: IntoIterator<IntoIter = I>, I: Iterator<Item = V> + ExactSizeIterator, V: Packable,
Expand description

Packs an array into the extendable buffer, returning the amount of written bytes.