pub unsafe fn write_bytes(mem: *mut u8, addr: u32, bytes: &[u8])
Writes bytes to the context memory at the given addr.