diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-08-22 12:55:49 -0600 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-21 13:56:55 -0400 |
| commit | d8e3001e535fad178c621ff07418f81f25123dc4 (patch) | |
| tree | 54c03cef2f0bdfd9a3b6df4334c81becb63e4993 /rust/src/databuffer.rs | |
| parent | 0e281a30d73c0f31ef9442fef0346779164231ad (diff) | |
Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin
Diffstat (limited to 'rust/src/databuffer.rs')
| -rw-r--r-- | rust/src/databuffer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/databuffer.rs b/rust/src/databuffer.rs index c3d268cd..29d7636b 100644 --- a/rust/src/databuffer.rs +++ b/rust/src/databuffer.rs @@ -109,8 +109,8 @@ impl DataBuffer { } } - pub fn to_escaped_string(&self, null_terminates: bool) -> BnString { - unsafe { BnString::from_raw(BNDataBufferToEscapedString(self.0, null_terminates)) } + pub fn to_escaped_string(&self, null_terminates: bool, escape_printable: bool) -> BnString { + unsafe { BnString::from_raw(BNDataBufferToEscapedString(self.0, null_terminates, escape_printable)) } } pub fn from_escaped_string(value: &BnString) -> Self { |
