(self, length, address)
Retrieve a string by its pointer.
Retrieve a string by its pointer.
Retrieve a string by its pointer .
def _retrieve(self, length, address):
        """Retrieve a string by its pointer."""
        # if string length == 0, return empty string
        try:
            return bytearray() if length == 0 else self._strings[address]
        except KeyError: # pragma: no cover
            raise KeyError(u'Dereferencing detached string at %x (%d)' % (address, address))
def _retrieve ( self , length , address ) : # if string length == 0, return empty string try : return bytearray ( ) if length == 0 else self . _strings [ address ] except KeyError : # pragma: no cover raise KeyError ( u'Dereferencing detached string at %x (%d)' % ( address , address ) )