[][src]Function amq_protocol_types::generation::gen_value

pub fn gen_value<'a>(
    x: (&'a mut [u8], usize),
    v: &AMQPValue
) -> Result<(&'a mut [u8], usize), GenError>

Generate the AMQPValue preceded with its AMQPType in the given buffer (x)