Crates.io | modular-bitfield-ordering |
lib.rs | modular-bitfield-ordering |
version | 0.1.0 |
source | src |
created_at | 2023-11-01 20:03:43.137247 |
updated_at | 2023-11-01 20:03:43.137247 |
description | Provide u8be..u128be, u8le..u128le for modular-bitfield |
homepage | |
repository | https://github.com/chabapok/modular-bitfield-ordering |
max_upload_size | |
id | 1021716 |
size | 16,701 |
This crate provide some types to use with the modular-bitfield
crate:
For big endian layout: u8be
, u16be
, u32be
, u64be
, u128be
For little endian layout: u8le
, u16le
, u32le
, u64le
, u128le
#[bitfield]
struct Foo {
a: u16be,
b: u32le,
}