pub fn local_opcodes<'data>(
        &self,
        data: &'data [u8],
        page_offset: u32,
    ) -> Result<&'data [Opcode]> {
        let relative_local_opcodes_offset = self.local_opcodes_offset();
        let local_opcodes_len: usize = self.local_opcodes_len().into();
        let local_opcodes_offset = page_offset as u64 + relative_local_opcodes_offset as u64;
        data.read_slice_at::<Opcode>(local_opcodes_offset, local_opcodes_len)
            .ok_or(ReadError::LocalOpcodes)
    }
/// Return the list of local opcodes.
Return the list of local opcodes.
Return the list of local opcodes .
pub fn local_opcodes<'data>(
        &self,
        data: &'data [u8],
        page_offset: u32,
    ) -> Result<&'data [Opcode]> {
        let relative_local_opcodes_offset = self.local_opcodes_offset();
        let local_opcodes_len: usize = self.local_opcodes_len().into();
        let local_opcodes_offset = page_offset as u64 + relative_local_opcodes_offset as u64;
        data.read_slice_at::<Opcode>(local_opcodes_offset, local_opcodes_len)
            .ok_or(ReadError::LocalOpcodes)
    }
pub fn local_opcodes < ' data > ( & self , data : & ' data [ u8 ] , page_offset : u32 , ) -> Result < & ' data [ Opcode ] > { let relative_local_opcodes_offset = self . local_opcodes_offset ( ) ; let local_opcodes_len : usize = self . local_opcodes_len ( ) . into ( ) ; let local_opcodes_offset = page_offset as u64 + relative_local_opcodes_offset as u64 ; data . read_slice_at :: < Opcode > ( local_opcodes_offset , local_opcodes_len ) . ok_or ( ReadError :: LocalOpcodes ) }
Return the list of local opcodes.
Return the list of local opcodes .
&self
data
&'data [u8]
page_offset
u32
&self
data
&'data [u8]
page_offset
u32