Function wire_framed::utils::get_array

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

A utility function to get a Vec from a Bytes.