[][src]Function lapin_async::types::generation::gen_id

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

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