MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / escape

Method escape

python/databuffer.py:146–147  ·  view source on GitHub ↗
(self, null_terminates=False, escape_printable=False)

Source from the content-addressed store, hash-verified

144 return bytes(self) == bytes(other)
145
146 def escape(self, null_terminates=False, escape_printable=False) -> str:
147 return core.BNDataBufferToEscapedString(self.handle, null_terminates, escape_printable)
148
149 def unescape(self) -> 'DataBuffer':
150 return DataBuffer(handle=core.BNDecodeEscapedString(str(self)))

Callers 1

escape_stringFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected