Easily write primitives and slices of primitives to
std::io::Write streams and easily read from binary
Also contains the unsafe
bytes module for reinterpreting values as byte slices and vice versa.
Reinterpret values as byte slices and byte slices as values unsafely.
std::io::Readinput stream which supports reading any primitive values from bytes. Will decode the values from either little endian or big endian, as desired.
Offers a prettier versions of reading a primitive number.
std::io::Writeoutput stream which supports writing any primitive values as bytes. Will encode the values to be either little endian or big endian, as desired.