Skip to main content

write_sized

Function write_sized 

Source
pub fn write_sized(w: &mut Vec<u8>, v: i32, size: u8)
Expand description

Writes v as a big-endian integer of size bytes (0, 1, 2 or 4).