fn write(&mut self, data: &[u8], addr: u16, len: usize) -> Result<(), io::Error> {
        let bytes = self.get_rw_slice(addr, len);
        let mut d: &[u8] = data;
        d.read(bytes)?;
        Ok(())
    }
/// write a chunk of bytes into "RAM"
write a chunk of bytes into "RAM"
write a chunk of bytes into " RAM "
fn write(&mut self, data: &[u8], addr: u16, len: usize) -> Result<(), io::Error> {
        let bytes = self.get_rw_slice(addr, len);
        let mut d: &[u8] = data;
        d.read(bytes)?;
        Ok(())
    }
fn write ( & mut self , data : & [ u8 ] , addr : u16 , len : usize ) -> Result < ( ) , io :: Error > { let bytes = self . get_rw_slice ( addr , len ) ; let mut d : & [ u8 ] = data ; d . read ( bytes ) ? ; Ok ( ( ) ) }
write a chunk of bytes into "RAM"
write a chunk of bytes into " RAM "
&mut self
data
&[u8]
addr
u16
len
usize