pub fn append_u8(buf: &mut Vec<u8, Global>, data: u8)