13 releases (8 breaking)
Uses new Rust 2024
| 0.9.0 | Aug 18, 2025 |
|---|---|
| 0.8.1 | Nov 23, 2024 |
| 0.7.2 | Oct 31, 2024 |
#629 in Encoding
Used in 5 crates
35KB
689 lines
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
ReadValandWriteVal(happens automatically as they extend these traits) - Copying data from
ReadValtoWrite(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.