Macro cookie_factory::gen_be_u16
source · macro_rules! gen_be_u16 { ($i:expr, $val:expr) => { ... }; }
Expand description
gen_be_u16!(I, u8) => I -> Result<I,E>
Write an unsigned 2 bytes integer (using big-endian order).
macro_rules! gen_be_u16 { ($i:expr, $val:expr) => { ... }; }
gen_be_u16!(I, u8) => I -> Result<I,E>
Write an unsigned 2 bytes integer (using big-endian order).