Serde Binary Advanced
Serde Binary Advanced is a Serde library enabling the serialization and deserialization of Rust objects to raw binary representations.
Features
- Serialization and deserialization of Rust data structures to and from raw binary format
- Full support for ASCII, UTF-8, UTI-16, and UTF-32 characters and strings
- Support for enums as 8, 16, 32, or 64 bit integers
- Support for bit flags
- Comprehensive error reporting, including the nature and location of the error
- Signature checking of the source binary data when deserializing
Installation
Installation
Add this to your Cargo.toml:
[]
= { = "1", = ["derive"] }
= { = "1" }
Usage
Here's a quick example on how to use Serde Binary Advanced to serialize and deserialize a struct to and from binary:
use ;
#
Legal
Serde Binary Advanced is copyright © 2025 JEleniel and released under either The MIT License or The Apache License, at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you shall be licensed as above, without any additional terms or conditions.