Trait it_memory_traits::MemoryWritable
source · [−]pub trait MemoryWritable {
fn write_byte(&self, offset: u32, value: u8);
fn write_bytes(&self, offset: u32, bytes: &[u8]);
}
Required methods
fn write_byte(&self, offset: u32, value: u8)
fn write_byte(&self, offset: u32, value: u8)
This function will panic if offset
is out of bounds.
It is caller’s responsibility to check if the offset is in bounds
using MemoryView::check_bounds
function.