macro_rules! sized_byte_slice {
    (
        // Optional type metadata (e.g., docs).
        $(#[$meta:meta])*
        // Type name of the slice
        $type_name:ident,

        // Fixed size of the slice
        $slice_size:expr
    ) => { ... };
}
Expand description

Macro which generates new type structs which wrap a fixed-size [u8], enabling type-safe slice sharing.