mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-03 16:44:06 +02:00
docs for derive
This commit is contained in:
parent
8a19225d61
commit
b45ca3856e
3 changed files with 29 additions and 3 deletions
|
|
@ -17,7 +17,7 @@
|
|||
//! float: f32,
|
||||
//! #[size = 3]
|
||||
//! asd: u8,
|
||||
//! #[size_bits = 2] // first read 2 bits, then use the resulting value as size as size for the read
|
||||
//! #[size_bits = 2] // first read 2 bits as unsigned integer, then use the resulting value as size for the read
|
||||
//! dynamic_length: u8,
|
||||
//! #[size = "asd"] // use a previously defined field as size
|
||||
//! previous_field: u8,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue