diff options
| author | Brian Potchik <brian@vector35.com> | 2022-11-20 21:35:06 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2022-11-20 21:35:06 -0500 |
| commit | 0763a5064d53a6ec58b7bd40e8c47679d55a81d0 (patch) | |
| tree | bedd36cb2c0c857ab438389c2ac3e0bdb97b7012 /python/databuffer.py | |
| parent | ae69370eb054e2d1679aff0247ad3e217df62a62 (diff) | |
Initial constant expression builtin outliner.
Diffstat (limited to 'python/databuffer.py')
| -rw-r--r-- | python/databuffer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/databuffer.py b/python/databuffer.py index bbcdd37b..44b64ab5 100644 --- a/python/databuffer.py +++ b/python/databuffer.py @@ -143,8 +143,8 @@ class DataBuffer: return False return bytes(self) == bytes(other) - def escape(self) -> str: - return core.BNDataBufferToEscapedString(self.handle) + def escape(self, null_terminates=False) -> str: + return core.BNDataBufferToEscapedString(self.handle, null_terminates) def unescape(self) -> 'DataBuffer': return DataBuffer(handle=core.BNDecodeEscapedString(str(self))) |
