pub fn get_array<T>( src: &mut Bytes, name: &str, get: impl Fn(&mut Bytes) -> Result<T, Error> ) -> Result<Vec<T, Global>, Error>
A utility function to get a Vec from a Bytes.
Vec
Bytes