Function cookie_factory::gen::set_le_u16
source · pub fn set_le_u16(
x: (&mut [u8], usize),
v: u16
) -> Result<(&mut [u8], usize), GenError>
Expand description
Write an unsigned 2 bytes integer (little-endian order). Equivalent to gen_le_u16!(v)