Rizin
unix-like reverse engineering framework and cli tools
rz_str_stringify_opt_t Struct Reference

#include <rz_str.h>

Public Attributes

const ut8buffer
 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...
 

Detailed Description

Definition at line 267 of file rz_str.h.

Member Data Documentation

◆ buffer

const ut8* rz_str_stringify_opt_t::buffer

◆ encoding

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().

◆ escape_nl

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().

◆ json

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().

◆ length

ut32 rz_str_stringify_opt_t::length

◆ stop_at_nil

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().

◆ urlencode

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().

◆ wrap_at

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().


The documentation for this struct was generated from the following file: