BurntSushi / byteorder

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

Add doc-tests/examples for most WriteBytesExt methods and fix some typos. #129

Closed fpgaminer closed 6 years ago

fpgaminer commented 6 years ago

This pull request added examples (and thus tests) for most of the WriteBytesExt methods. It does not add examples for 128-bit methods. It also fixes a few typos in the ReadBytesExt docs.

I've combed through the new code but of course extra eyes are always a good idea in case I missed something in all the copy-pasting.