Thanks to visit codestin.com
Credit goes to lib.rs

14 releases (9 breaking)

Uses new Rust 2024

0.10.0 Dec 16, 2025
0.9.0 Aug 18, 2025
0.8.1 Nov 23, 2024

#483 in Encoding


Used in 5 crates

MIT license

39KB
864 lines

Crates.io Version GitHub Issues or Pull Requests GitHub Actions Workflow Status

dh

Binary data handling in Rust, made easy.

Features

  • Read and write files in streams
  • Read and write u8 vectors
  • std::io::Read and std::io::Write implementations for ReadVal and WriteVal (happens automatically as they extend these traits)
  • Copying data from ReadVal to Write (chunked and all at once if you want)
  • Floating point number support

Planned features

  • Reading and writing of data that does not fill a whole byte

Installation

cargo add dh

Documentation

The documentation can be found on docs.rs.

License

This project is licensed under the MIT License - see the LICENSE file for details.

No runtime deps

Features