20 releases (11 breaking)
Uses new Rust 2024
| new 0.12.2 | Aug 6, 2026 |
|---|---|
| 0.11.2 | Aug 5, 2026 |
| 0.11.1 | Jun 26, 2026 |
| 0.10.0 | Dec 16, 2025 |
| 0.8.1 | Nov 23, 2024 |
#650 in Encoding
Used in 5 crates
40KB
781 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 - Floating point number support
- Variable-length integers (
vlicrate feature)
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.