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 MemorySlice
s that can read memory in that slice.
Required Methods
fn address_slice(&self, start: usize, end: usize) -> MemorySlice
Create a slice representing the memory between the start
and end
addresses.
fn address_slice_len(&self, start: usize, n: usize) -> MemorySlice
Create a slice representing the memory between the start
address and the address at
start + n
.
Implementors
impl ProvidesSlices for MemReader