pub struct AvmlBuilder { /* private fields */ }Expand description
Build a synthetic AVML dump byte-by-byte.
Each range is serialised as a 32-byte header followed by a Snappy-compressed payload, then 8 trailing bytes encoding the uncompressed size as u64 LE. Header layout (all fields little-endian):
- 0x00: magic = 0x4C4D5641 (4 bytes)
- 0x04: version = 2 (4 bytes)
- 0x08: s_addr (8 bytes)
- 0x10: e_addr (exclusive) (8 bytes)
- 0x18: reserved (8 bytes zeros)
Implementations§
Trait Implementations§
Source§impl Default for AvmlBuilder
impl Default for AvmlBuilder
Source§fn default() -> AvmlBuilder
fn default() -> AvmlBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AvmlBuilder
impl RefUnwindSafe for AvmlBuilder
impl Send for AvmlBuilder
impl Sync for AvmlBuilder
impl Unpin for AvmlBuilder
impl UnsafeUnpin for AvmlBuilder
impl UnwindSafe for AvmlBuilder
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