Function unpack_array

Source
pub fn unpack_array<V, C>(
    buf: &[u8],
) -> Result<(usize, C), <V as Unpackable>::Error>
where V: Unpackable, C: FromIterator<V>,
Expand description

Unpacks an array from the buffer, returning a collectable type and the amount of read bytes.