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