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
39KB
864 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.