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 /databuffer.cpp | |
| parent | ae69370eb054e2d1679aff0247ad3e217df62a62 (diff) | |
Initial constant expression builtin outliner.
Diffstat (limited to 'databuffer.cpp')
| -rw-r--r-- | databuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databuffer.cpp b/databuffer.cpp index 1699ebb6..24b20856 100644 --- a/databuffer.cpp +++ b/databuffer.cpp @@ -190,9 +190,9 @@ const uint8_t& DataBuffer::operator[](size_t offset) const } -string DataBuffer::ToEscapedString() const +string DataBuffer::ToEscapedString(bool nullTerminates) const { - char* str = BNDataBufferToEscapedString(m_buffer); + char* str = BNDataBufferToEscapedString(m_buffer, nullTerminates); string result = str; BNFreeString(str); return result; |
