pub fn write_u64(val: u64, byteorder: ByteOrder, buf: &mut Vec<u8, Global>)