(self, offset, length)
return bytearray(code[offset:offset+length])
Retrieve block of data from program code.
Retrieve block of data from program code.
Retrieve block of data from program code .
def get_memory_block(self, offset, length):
        """Retrieve block of data from program code."""
        offset -= self.code_start
        code = self.bytecode.getvalue()
        return bytearray(code[offset:offset+length])
def get_memory_block ( self , offset , length ) : offset -= self . code_start code = self . bytecode . getvalue ( ) return bytearray ( code [ offset : offset + length ] )