Trait inspect_format::ReadBytes
source · pub trait ReadBytes: BlockContainer {
// Required method
fn get_slice_at(&self, offset: usize, size: usize) -> Option<&[u8]>;
// Provided methods
fn get_slice(&self, size: usize) -> Option<&[u8]> { ... }
fn get_value<T: ContainerValue>(&self, offset: usize) -> Option<&T> { ... }
}
Expand description
Trait implemented by an Inspect container that can be read from.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.