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

pub fn gen_id(x: &mut [u8], id: ShortUInt) -> GenResult

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