bebytes_derive 2.10.1

A macro to generate/parse binary representation of messages with custom bit fields
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub const PRIMITIVES: [&str; 17] = [
    "u8", "u16", "u32", "u64", "u128", "usize", "i8", "i16", "i32", "i64", "i128", "isize", "f32",
    "f64", "bool", "char", "str",
];
pub const SUPPORTED_PRIMITIVES: [&str; 11] = [
    "u8", "u16", "u32", "u64", "u128", "i8", "i16", "i32", "i64", "i128", "char",
];

#[derive(Clone, Copy, Debug, PartialEq)]
pub enum Endianness {
    Big,
    Little,
}