Deku
Declarative binary reading and writing
This crate provides bit-level, symmetric, serialization/deserialization implementations for structs and enums
Why use Deku
Productivity: Deku will generate symmetric reader/writer functions for your type! Avoid the requirement of writing redundant, error-prone parsing and writing code for binary structs or network headers
Usage
[]
= "0.14"
no_std:
[]
= { = "0.14", = false, = ["alloc"] }
Example
See documentation or examples folder for more!
Read big-endian data into a struct, modify a value, and write it
use *;
Changelog
See CHANGELOG.md