Trait device_tree::util::SliceRead [] [src]

pub trait SliceRead {
    fn read_be_u32(&self, pos: usize) -> SliceReadResult<u32>;
    fn read_be_u64(&self, pos: usize) -> SliceReadResult<u64>;
    fn read_bstring0(&self, pos: usize) -> SliceReadResult<&[u8]>;
    fn subslice(&self, start: usize, len: usize) -> SliceReadResult<&[u8]>;
}

Required Methods

fn read_be_u32(&self, pos: usize) -> SliceReadResult<u32>

fn read_be_u64(&self, pos: usize) -> SliceReadResult<u64>

fn read_bstring0(&self, pos: usize) -> SliceReadResult<&[u8]>

fn subslice(&self, start: usize, len: usize) -> SliceReadResult<&[u8]>

Implementors