amq_protocol_types::generation
pub fn gen_id( x: (&mut [u8], usize), id: ShortUInt) -> Result<(&mut [u8], usize), GenError>
Generate the id (ShortUInt) in the given buffer (x)