summaryrefslogtreecommitdiff
path: root/databuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'databuffer.cpp')
-rw-r--r--databuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/databuffer.cpp b/databuffer.cpp
index 6f9c3258..f8f15bd4 100644
--- a/databuffer.cpp
+++ b/databuffer.cpp
@@ -190,9 +190,9 @@ const uint8_t& DataBuffer::operator[](size_t offset) const
}
-string DataBuffer::ToEscapedString(bool nullTerminates) const
+string DataBuffer::ToEscapedString(bool nullTerminates, bool escapePrintable) const
{
- char* str = BNDataBufferToEscapedString(m_buffer, nullTerminates);
+ char* str = BNDataBufferToEscapedString(m_buffer, nullTerminates, escapePrintable);
string result = str;
BNFreeString(str);
return result;