Trait memreader::ProvidesSlices [] [src]

pub trait ProvidesSlices {
    fn address_slice(&self, start: usize, end: usize) -> MemorySlice;
    fn address_slice_len(&self, start: usize, n: usize) -> MemorySlice;
}

This trait allows for providing MemorySlices that can read memory in that slice.

Required Methods

Create a slice representing the memory between the start and end addresses.

Create a slice representing the memory between the start address and the address at start + n.

Implementors