Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_str.h>
Public Attributes | |
const ut8 * | buffer |
String buffer (cannot be NULL). More... | |
ut32 | length |
String buffer length. More... | |
RzStrEnc | encoding |
String encoding type (cannot be RZ_STRING_ENC_GUESS) More... | |
ut32 | wrap_at |
Adds a new line the output when it exeeds this value. More... | |
bool | escape_nl |
When enabled escapes new lines ( ). More... | |
bool | json |
Encodes the output as a JSON string. More... | |
bool | stop_at_nil |
When enabled stops printing when '\0' is found. More... | |
bool | urlencode |
Encodes the output following RFC 3986. More... | |
String buffer (cannot be NULL).
Definition at line 268 of file rz_str.h.
Referenced by print_json_string(), rz_cmd_print(), rz_print_utf16be_handler(), rz_print_utf16le_handler(), rz_print_utf32be_handler(), and rz_print_utf32le_handler().
RzStrEnc rz_str_stringify_opt_t::encoding |
String encoding type (cannot be RZ_STRING_ENC_GUESS)
Definition at line 270 of file rz_str.h.
Referenced by print_json_string(), rz_cmd_print(), rz_print_utf16be_handler(), rz_print_utf16le_handler(), rz_print_utf32be_handler(), and rz_print_utf32le_handler().
bool rz_str_stringify_opt_t::escape_nl |
When enabled escapes new lines (
).
Definition at line 272 of file rz_str.h.
Referenced by rz_cmd_print().
bool rz_str_stringify_opt_t::json |
Encodes the output as a JSON string.
Definition at line 273 of file rz_str.h.
Referenced by print_json_string().
ut32 rz_str_stringify_opt_t::length |
String buffer length.
Definition at line 269 of file rz_str.h.
Referenced by print_json_string(), rz_cmd_print(), rz_print_utf16be_handler(), rz_print_utf16le_handler(), rz_print_utf32be_handler(), and rz_print_utf32le_handler().
bool rz_str_stringify_opt_t::stop_at_nil |
When enabled stops printing when '\0' is found.
Definition at line 274 of file rz_str.h.
Referenced by print_json_string(), rz_cmd_print(), rz_print_utf16be_handler(), rz_print_utf16le_handler(), rz_print_utf32be_handler(), and rz_print_utf32le_handler().
bool rz_str_stringify_opt_t::urlencode |
Encodes the output following RFC 3986.
Definition at line 275 of file rz_str.h.
Referenced by rz_cmd_print().
ut32 rz_str_stringify_opt_t::wrap_at |
Adds a new line the output when it exeeds this value.
Definition at line 271 of file rz_str.h.
Referenced by rz_cmd_print().