pub trait MappedImageReader {
// Required methods
fn read_exact(&self, range: Range<u64>) -> ParseResult<Vec<u8>>;
fn captured_len(&self) -> ParseResult<u64>;
}Expand description
Immutable random-access reader over one mapped Mach-O module.
Required Methods§
Sourcefn read_exact(&self, range: Range<u64>) -> ParseResult<Vec<u8>>
fn read_exact(&self, range: Range<u64>) -> ParseResult<Vec<u8>>
Copy exactly range.len() bytes from module-relative virtual addresses.
Sourcefn captured_len(&self) -> ParseResult<u64>
fn captured_len(&self) -> ParseResult<u64>
Total number of captured bytes available to reconstruction.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".