Function msgpacker::pack_array

source ·
pub fn pack_array<T, A, I, V>(buf: &mut T, iter: A) -> usizewhere
    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.