pub trait MemoryWritable {
    fn write_byte(&self, offset: u32, value: u8);
    fn write_bytes(&self, offset: u32, bytes: &[u8]);
}

Required methods

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.

This function will panic if [offset..offset + bytes.len()].is out of bounds. It is caller’s responsibility to check if the offset is in bounds using MemoryView::check_bounds function.

Implementors