pub fn get_array<T>(
    src: &mut Bytes,
    name: &str,
    get: impl Fn(&mut Bytes) -> Result<T, Error>
) -> Result<Vec<T>, Error>
Expand description

A utility function to get a Vec from a Bytes.