[][src]Function amq_protocol_types::generation::gen_with_len

pub fn gen_with_len<'a, F>(x: &'a mut [u8], f: F) -> GenResult<'a> where
    F: Fn(&'a mut [u8]) -> GenResult<'a>, 

Apply a generator and serialize its length at the beginning of buffer