BurntSushi / byteorder

Rust library for reading/writing numbers in big-endian and little-endian.
The Unlicense
981 stars 143 forks source link

added slice write functions #122

Closed nyovaya closed 5 years ago

nyovaya commented 6 years ago

simple(performance not tested) write functions for std::io::Write for these types: i8, u8, i16, u16, i32, u32, i64, u64

nyovaya commented 6 years ago

I'll take a look at it later.

nyovaya commented 6 years ago

@BurntSushi not quite sure if the Endianness conversion I did is right but it's working and I get writing speeds of about 180MB/s.