From 0763a5064d53a6ec58b7bd40e8c47679d55a81d0 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sun, 20 Nov 2022 21:35:06 -0500 Subject: Initial constant expression builtin outliner. --- databuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'databuffer.cpp') 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; -- cgit v1.3.1