Trait mac_parser::ReadFixedCtx
source · pub trait ReadFixedCtx<const N: usize, Ctx>: Sized {
// Required method
fn from_bytes(data: &[u8; N], ctx: Ctx) -> Result<Self, ParserError>;
}
Expand description
A trait for reading data of fixed length, with context.