pub struct SBData {
pub raw: SBDataRef,
}Expand description
A block of data.
Fields§
§raw: SBDataRefThe underlying raw SBDataRef.
Implementations§
Source§impl SBData
impl SBData
Sourcepub fn get_address(&self, offset: lldb_offset_t) -> Result<lldb_addr_t, SBError>
pub fn get_address(&self, offset: lldb_offset_t) -> Result<lldb_addr_t, SBError>
Get address of the specified offset in this data region
Sourcepub fn read_raw_data(
&self,
offset: lldb_offset_t,
buffer: &mut [u8],
) -> Result<(), SBError>
pub fn read_raw_data( &self, offset: lldb_offset_t, buffer: &mut [u8], ) -> Result<(), SBError>
Reads the data at specified offset to the buffer.
Trait Implementations§
impl Send for SBData
impl Sync for SBData
Auto Trait Implementations§
impl Freeze for SBData
impl RefUnwindSafe for SBData
impl Unpin for SBData
impl UnwindSafe for SBData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more