[][src]Function amq_protocol_types::generation::gen_id

pub fn gen_id(
    x: (&mut [u8], usize),
    id: ShortUInt
) -> Result<(&mut [u8], usize), GenError>

Generate the id (ShortUInt) in the given buffer (x)