Trait assembly_data::fdb::parser::ParseLE[][src]

pub trait ParseLE: Sized + Copy {
    type Buf: AsMut<[u8]> + Default;

    const BYTE_COUNT: usize;

    fn parse(i: &[u8]) -> IResult<&[u8], Self>;
}
Expand description

Marker trait that implies that Self can be parsed in little-endian mode

Associated Types

A byte array of the same length that can be parsed as Self

Associated Constants

Same as std::mem::size_of::<Self>()

Required methods

Function to parse the buffer into self

Implementations on Foreign Types

Implementors