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