pub struct QByteArray { /* private fields */ }Expand description
C++ class: QByteArray.
Implementations§
Source§impl QByteArray
impl QByteArray
Sourcepub unsafe fn from_slice(slice: &[u8]) -> CppBox<QByteArray>
pub unsafe fn from_slice(slice: &[u8]) -> CppBox<QByteArray>
Creates a QByteArray containing bytes from slice.
QByteArray makes a deep copy of the data.
Source§impl QByteArray
impl QByteArray
Sourcepub unsafe fn add_assign_char(&self, c: c_char) -> Ref<QByteArray>
pub unsafe fn add_assign_char(&self, c: c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::operator+=(char c).
Sourcepub unsafe fn add_assign_char2(&self, s: *const c_char) -> Ref<QByteArray>
pub unsafe fn add_assign_char2(&self, s: *const c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::operator+=(const char* s).
Sourcepub unsafe fn add_assign_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn add_assign_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::operator+=(const QByteArray& a).
Sourcepub unsafe fn add_assign_q_string(
&self,
s: impl CastInto<Ref<QString>>,
) -> Ref<QByteArray>
pub unsafe fn add_assign_q_string( &self, s: impl CastInto<Ref<QString>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::operator+=(const QString& s).
Sourcepub unsafe fn append_char(&self, c: c_char) -> Ref<QByteArray>
pub unsafe fn append_char(&self, c: c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::append(char c).
Sourcepub unsafe fn append_int_char(&self, count: c_int, c: c_char) -> Ref<QByteArray>
pub unsafe fn append_int_char(&self, count: c_int, c: c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::append(int count, char c).
Sourcepub unsafe fn append_char2(&self, s: *const c_char) -> Ref<QByteArray>
pub unsafe fn append_char2(&self, s: *const c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::append(const char* s).
Sourcepub unsafe fn append_char_int(
&self,
s: *const c_char,
len: c_int,
) -> Ref<QByteArray>
pub unsafe fn append_char_int( &self, s: *const c_char, len: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::append(const char* s, int len).
Sourcepub unsafe fn append_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn append_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::append(const QByteArray& a).
Sourcepub unsafe fn append_q_string(
&self,
s: impl CastInto<Ref<QString>>,
) -> Ref<QByteArray>
pub unsafe fn append_q_string( &self, s: impl CastInto<Ref<QString>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::append(const QString& s).
Sourcepub unsafe fn at(&self, i: c_int) -> c_char
pub unsafe fn at(&self, i: c_int) -> c_char
Calls C++ function: char QByteArray::at(int i) const.
Sourcepub unsafe fn back_mut(&self) -> CppBox<QByteRef>
pub unsafe fn back_mut(&self) -> CppBox<QByteRef>
Calls C++ function: QByteRef QByteArray::back().
Sourcepub unsafe fn begin(&self) -> *const c_char
pub unsafe fn begin(&self) -> *const c_char
Calls C++ function: const char* QByteArray::begin() const.
Sourcepub unsafe fn cbegin(&self) -> *const c_char
pub unsafe fn cbegin(&self) -> *const c_char
Calls C++ function: const char* QByteArray::cbegin() const.
Sourcepub unsafe fn cend(&self) -> *const c_char
pub unsafe fn cend(&self) -> *const c_char
Calls C++ function: const char* QByteArray::cend() const.
Sourcepub unsafe fn chopped(&self, len: c_int) -> CppBox<QByteArray>
pub unsafe fn chopped(&self, len: c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::chopped(int len) const.
Sourcepub unsafe fn compare_char_case_sensitivity(
&self,
c: *const c_char,
cs: CaseSensitivity,
) -> c_int
pub unsafe fn compare_char_case_sensitivity( &self, c: *const c_char, cs: CaseSensitivity, ) -> c_int
Calls C++ function: int QByteArray::compare(const char* c, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn compare_q_byte_array_case_sensitivity(
&self,
a: impl CastInto<Ref<QByteArray>>,
cs: CaseSensitivity,
) -> c_int
pub unsafe fn compare_q_byte_array_case_sensitivity( &self, a: impl CastInto<Ref<QByteArray>>, cs: CaseSensitivity, ) -> c_int
Calls C++ function: int QByteArray::compare(const QByteArray& a, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn compare_char(&self, c: *const c_char) -> c_int
pub unsafe fn compare_char(&self, c: *const c_char) -> c_int
Calls C++ function: int QByteArray::compare(const char* c) const.
Sourcepub unsafe fn compare_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> c_int
pub unsafe fn compare_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> c_int
Calls C++ function: int QByteArray::compare(const QByteArray& a) const.
Sourcepub unsafe fn const_begin(&self) -> *const c_char
pub unsafe fn const_begin(&self) -> *const c_char
Calls C++ function: const char* QByteArray::constBegin() const.
Sourcepub unsafe fn const_data(&self) -> *const c_char
pub unsafe fn const_data(&self) -> *const c_char
Calls C++ function: const char* QByteArray::constData() const.
Sourcepub unsafe fn const_end(&self) -> *const c_char
pub unsafe fn const_end(&self) -> *const c_char
Calls C++ function: const char* QByteArray::constEnd() const.
Sourcepub unsafe fn contains_char(&self, c: c_char) -> bool
pub unsafe fn contains_char(&self, c: c_char) -> bool
Calls C++ function: bool QByteArray::contains(char c) const.
Sourcepub unsafe fn contains_char2(&self, a: *const c_char) -> bool
pub unsafe fn contains_char2(&self, a: *const c_char) -> bool
Calls C++ function: bool QByteArray::contains(const char* a) const.
Sourcepub unsafe fn contains_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> bool
pub unsafe fn contains_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> bool
Calls C++ function: bool QByteArray::contains(const QByteArray& a) const.
Sourcepub unsafe fn copy_from_q_byte_array(
&self,
arg1: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn copy_from_q_byte_array( &self, arg1: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::operator=(const QByteArray& arg1).
Sourcepub unsafe fn copy_from_char(&self, str: *const c_char) -> Ref<QByteArray>
pub unsafe fn copy_from_char(&self, str: *const c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::operator=(const char* str).
Sourcepub unsafe fn count_char(&self, c: c_char) -> c_int
pub unsafe fn count_char(&self, c: c_char) -> c_int
Calls C++ function: int QByteArray::count(char c) const.
Sourcepub unsafe fn count_char2(&self, a: *const c_char) -> c_int
pub unsafe fn count_char2(&self, a: *const c_char) -> c_int
Calls C++ function: int QByteArray::count(const char* a) const.
Sourcepub unsafe fn count_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> c_int
pub unsafe fn count_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> c_int
Calls C++ function: int QByteArray::count(const QByteArray& a) const.
Sourcepub unsafe fn data(&self) -> *const c_char
pub unsafe fn data(&self) -> *const c_char
Calls C++ function: const char* QByteArray::data() const.
Sourcepub unsafe fn end(&self) -> *const c_char
pub unsafe fn end(&self) -> *const c_char
Calls C++ function: const char* QByteArray::end() const.
Sourcepub unsafe fn ends_with_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> bool
pub unsafe fn ends_with_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> bool
Calls C++ function: bool QByteArray::endsWith(const QByteArray& a) const.
Sourcepub unsafe fn ends_with_char(&self, c: c_char) -> bool
pub unsafe fn ends_with_char(&self, c: c_char) -> bool
Calls C++ function: bool QByteArray::endsWith(char c) const.
Sourcepub unsafe fn ends_with_char2(&self, c: *const c_char) -> bool
pub unsafe fn ends_with_char2(&self, c: *const c_char) -> bool
Calls C++ function: bool QByteArray::endsWith(const char* c) const.
Sourcepub unsafe fn fill_2a(&self, c: c_char, size: c_int) -> Ref<QByteArray>
pub unsafe fn fill_2a(&self, c: c_char, size: c_int) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::fill(char c, int size = …).
Sourcepub unsafe fn fill_1a(&self, c: c_char) -> Ref<QByteArray>
pub unsafe fn fill_1a(&self, c: c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::fill(char c).
Sourcepub unsafe fn from_base64_2a(
base64: impl CastInto<Ref<QByteArray>>,
options: QFlags<Base64Option>,
) -> CppBox<QByteArray>
pub unsafe fn from_base64_2a( base64: impl CastInto<Ref<QByteArray>>, options: QFlags<Base64Option>, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::fromBase64(const QByteArray& base64, QFlags<QByteArray::Base64Option> options).
Sourcepub unsafe fn from_base64_1a(
base64: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QByteArray>
pub unsafe fn from_base64_1a( base64: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::fromBase64(const QByteArray& base64).
Sourcepub unsafe fn from_base64_encoding_2a(
base64: impl CastInto<Ref<QByteArray>>,
options: QFlags<Base64Option>,
) -> CppBox<FromBase64Result>
pub unsafe fn from_base64_encoding_2a( base64: impl CastInto<Ref<QByteArray>>, options: QFlags<Base64Option>, ) -> CppBox<FromBase64Result>
Calls C++ function: static QByteArray::FromBase64Result QByteArray::fromBase64Encoding(const QByteArray& base64, QFlags<QByteArray::Base64Option> options = …).
Sourcepub unsafe fn from_base64_encoding_1a(
base64: impl CastInto<Ref<QByteArray>>,
) -> CppBox<FromBase64Result>
pub unsafe fn from_base64_encoding_1a( base64: impl CastInto<Ref<QByteArray>>, ) -> CppBox<FromBase64Result>
Calls C++ function: static QByteArray::FromBase64Result QByteArray::fromBase64Encoding(const QByteArray& base64).
Sourcepub unsafe fn from_hex(
hex_encoded: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QByteArray>
pub unsafe fn from_hex( hex_encoded: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::fromHex(const QByteArray& hexEncoded).
Sourcepub unsafe fn from_percent_encoding_2a(
pct_encoded: impl CastInto<Ref<QByteArray>>,
percent: c_char,
) -> CppBox<QByteArray>
pub unsafe fn from_percent_encoding_2a( pct_encoded: impl CastInto<Ref<QByteArray>>, percent: c_char, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::fromPercentEncoding(const QByteArray& pctEncoded, char percent = …).
Sourcepub unsafe fn from_percent_encoding_1a(
pct_encoded: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QByteArray>
pub unsafe fn from_percent_encoding_1a( pct_encoded: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::fromPercentEncoding(const QByteArray& pctEncoded).
Sourcepub unsafe fn from_raw_data(
arg1: *const c_char,
size: c_int,
) -> CppBox<QByteArray>
pub unsafe fn from_raw_data( arg1: *const c_char, size: c_int, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::fromRawData(const char* arg1, int size).
Sourcepub unsafe fn front_mut(&self) -> CppBox<QByteRef>
pub unsafe fn front_mut(&self) -> CppBox<QByteRef>
Calls C++ function: QByteRef QByteArray::front().
Sourcepub unsafe fn index_int(&self, i: c_int) -> c_char
pub unsafe fn index_int(&self, i: c_int) -> c_char
Calls C++ function: char QByteArray::operator[](int i) const.
Sourcepub unsafe fn index_uint(&self, i: c_uint) -> c_char
pub unsafe fn index_uint(&self, i: c_uint) -> c_char
Calls C++ function: char QByteArray::operator[](unsigned int i) const.
Sourcepub unsafe fn index_int_mut(&self, i: c_int) -> CppBox<QByteRef>
pub unsafe fn index_int_mut(&self, i: c_int) -> CppBox<QByteRef>
Calls C++ function: QByteRef QByteArray::operator[](int i).
Sourcepub unsafe fn index_uint_mut(&self, i: c_uint) -> CppBox<QByteRef>
pub unsafe fn index_uint_mut(&self, i: c_uint) -> CppBox<QByteRef>
Calls C++ function: QByteRef QByteArray::operator[](unsigned int i).
Sourcepub unsafe fn index_of_char_int(&self, c: c_char, from: c_int) -> c_int
pub unsafe fn index_of_char_int(&self, c: c_char, from: c_int) -> c_int
Calls C++ function: int QByteArray::indexOf(char c, int from = …) const.
Sourcepub unsafe fn index_of_char_int2(&self, c: *const c_char, from: c_int) -> c_int
pub unsafe fn index_of_char_int2(&self, c: *const c_char, from: c_int) -> c_int
Calls C++ function: int QByteArray::indexOf(const char* c, int from = …) const.
Sourcepub unsafe fn index_of_q_byte_array_int(
&self,
a: impl CastInto<Ref<QByteArray>>,
from: c_int,
) -> c_int
pub unsafe fn index_of_q_byte_array_int( &self, a: impl CastInto<Ref<QByteArray>>, from: c_int, ) -> c_int
Calls C++ function: int QByteArray::indexOf(const QByteArray& a, int from = …) const.
Sourcepub unsafe fn index_of_q_string_int(
&self,
s: impl CastInto<Ref<QString>>,
from: c_int,
) -> c_int
pub unsafe fn index_of_q_string_int( &self, s: impl CastInto<Ref<QString>>, from: c_int, ) -> c_int
Calls C++ function: int QByteArray::indexOf(const QString& s, int from = …) const.
Sourcepub unsafe fn index_of_char(&self, c: c_char) -> c_int
pub unsafe fn index_of_char(&self, c: c_char) -> c_int
Calls C++ function: int QByteArray::indexOf(char c) const.
Sourcepub unsafe fn index_of_char2(&self, c: *const c_char) -> c_int
pub unsafe fn index_of_char2(&self, c: *const c_char) -> c_int
Calls C++ function: int QByteArray::indexOf(const char* c) const.
Sourcepub unsafe fn index_of_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> c_int
pub unsafe fn index_of_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> c_int
Calls C++ function: int QByteArray::indexOf(const QByteArray& a) const.
Sourcepub unsafe fn index_of_q_string(&self, s: impl CastInto<Ref<QString>>) -> c_int
pub unsafe fn index_of_q_string(&self, s: impl CastInto<Ref<QString>>) -> c_int
Calls C++ function: int QByteArray::indexOf(const QString& s) const.
Sourcepub unsafe fn insert_int_char(&self, i: c_int, c: c_char) -> Ref<QByteArray>
pub unsafe fn insert_int_char(&self, i: c_int, c: c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::insert(int i, char c).
Sourcepub unsafe fn insert_2_int_char(
&self,
i: c_int,
count: c_int,
c: c_char,
) -> Ref<QByteArray>
pub unsafe fn insert_2_int_char( &self, i: c_int, count: c_int, c: c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::insert(int i, int count, char c).
Sourcepub unsafe fn insert_int_char2(
&self,
i: c_int,
s: *const c_char,
) -> Ref<QByteArray>
pub unsafe fn insert_int_char2( &self, i: c_int, s: *const c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::insert(int i, const char* s).
Sourcepub unsafe fn insert_int_char_int(
&self,
i: c_int,
s: *const c_char,
len: c_int,
) -> Ref<QByteArray>
pub unsafe fn insert_int_char_int( &self, i: c_int, s: *const c_char, len: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::insert(int i, const char* s, int len).
Sourcepub unsafe fn insert_int_q_byte_array(
&self,
i: c_int,
a: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn insert_int_q_byte_array( &self, i: c_int, a: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::insert(int i, const QByteArray& a).
Sourcepub unsafe fn insert_int_q_string(
&self,
i: c_int,
s: impl CastInto<Ref<QString>>,
) -> Ref<QByteArray>
pub unsafe fn insert_int_q_string( &self, i: c_int, s: impl CastInto<Ref<QString>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::insert(int i, const QString& s).
Sourcepub unsafe fn is_detached(&self) -> bool
pub unsafe fn is_detached(&self) -> bool
Calls C++ function: bool QByteArray::isDetached() const.
Calls C++ function: bool QByteArray::isSharedWith(const QByteArray& other) const.
Sourcepub unsafe fn last_index_of_char_int(&self, c: c_char, from: c_int) -> c_int
pub unsafe fn last_index_of_char_int(&self, c: c_char, from: c_int) -> c_int
Calls C++ function: int QByteArray::lastIndexOf(char c, int from = …) const.
Sourcepub unsafe fn last_index_of_char_int2(
&self,
c: *const c_char,
from: c_int,
) -> c_int
pub unsafe fn last_index_of_char_int2( &self, c: *const c_char, from: c_int, ) -> c_int
Calls C++ function: int QByteArray::lastIndexOf(const char* c, int from = …) const.
Sourcepub unsafe fn last_index_of_q_byte_array_int(
&self,
a: impl CastInto<Ref<QByteArray>>,
from: c_int,
) -> c_int
pub unsafe fn last_index_of_q_byte_array_int( &self, a: impl CastInto<Ref<QByteArray>>, from: c_int, ) -> c_int
Calls C++ function: int QByteArray::lastIndexOf(const QByteArray& a, int from = …) const.
Sourcepub unsafe fn last_index_of_q_string_int(
&self,
s: impl CastInto<Ref<QString>>,
from: c_int,
) -> c_int
pub unsafe fn last_index_of_q_string_int( &self, s: impl CastInto<Ref<QString>>, from: c_int, ) -> c_int
Calls C++ function: int QByteArray::lastIndexOf(const QString& s, int from = …) const.
Sourcepub unsafe fn last_index_of_char(&self, c: c_char) -> c_int
pub unsafe fn last_index_of_char(&self, c: c_char) -> c_int
Calls C++ function: int QByteArray::lastIndexOf(char c) const.
Sourcepub unsafe fn last_index_of_char2(&self, c: *const c_char) -> c_int
pub unsafe fn last_index_of_char2(&self, c: *const c_char) -> c_int
Calls C++ function: int QByteArray::lastIndexOf(const char* c) const.
Sourcepub unsafe fn last_index_of_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> c_int
pub unsafe fn last_index_of_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> c_int
Calls C++ function: int QByteArray::lastIndexOf(const QByteArray& a) const.
Sourcepub unsafe fn last_index_of_q_string(
&self,
s: impl CastInto<Ref<QString>>,
) -> c_int
pub unsafe fn last_index_of_q_string( &self, s: impl CastInto<Ref<QString>>, ) -> c_int
Calls C++ function: int QByteArray::lastIndexOf(const QString& s) const.
Sourcepub unsafe fn left(&self, len: c_int) -> CppBox<QByteArray>
pub unsafe fn left(&self, len: c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::left(int len) const.
Sourcepub unsafe fn left_justified_3a(
&self,
width: c_int,
fill: c_char,
truncate: bool,
) -> CppBox<QByteArray>
pub unsafe fn left_justified_3a( &self, width: c_int, fill: c_char, truncate: bool, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::leftJustified(int width, char fill = …, bool truncate = …) const.
Sourcepub unsafe fn left_justified_2a(
&self,
width: c_int,
fill: c_char,
) -> CppBox<QByteArray>
pub unsafe fn left_justified_2a( &self, width: c_int, fill: c_char, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::leftJustified(int width, char fill = …) const.
Sourcepub unsafe fn left_justified_1a(&self, width: c_int) -> CppBox<QByteArray>
pub unsafe fn left_justified_1a(&self, width: c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::leftJustified(int width) const.
Sourcepub unsafe fn mid_2a(&self, index: c_int, len: c_int) -> CppBox<QByteArray>
pub unsafe fn mid_2a(&self, index: c_int, len: c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::mid(int index, int len = …) const.
Sourcepub unsafe fn mid_1a(&self, index: c_int) -> CppBox<QByteArray>
pub unsafe fn mid_1a(&self, index: c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::mid(int index) const.
Sourcepub unsafe fn new() -> CppBox<QByteArray>
pub unsafe fn new() -> CppBox<QByteArray>
Calls C++ function: [constructor] void QByteArray::QByteArray().
Sourcepub unsafe fn from_char_int(
arg1: *const c_char,
size: c_int,
) -> CppBox<QByteArray>
pub unsafe fn from_char_int( arg1: *const c_char, size: c_int, ) -> CppBox<QByteArray>
Calls C++ function: [constructor] void QByteArray::QByteArray(const char* arg1, int size = …).
Sourcepub unsafe fn from_int_char(size: c_int, c: c_char) -> CppBox<QByteArray>
pub unsafe fn from_int_char(size: c_int, c: c_char) -> CppBox<QByteArray>
Calls C++ function: [constructor] void QByteArray::QByteArray(int size, char c).
Sourcepub unsafe fn from_char(arg1: *const c_char) -> CppBox<QByteArray>
pub unsafe fn from_char(arg1: *const c_char) -> CppBox<QByteArray>
Calls C++ function: [constructor] void QByteArray::QByteArray(const char* arg1).
Sourcepub unsafe fn new_copy(
arg1: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QByteArray>
pub unsafe fn new_copy( arg1: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>
Calls C++ function: [constructor] void QByteArray::QByteArray(const QByteArray& arg1).
Sourcepub unsafe fn number_2_int(arg1: c_int, base: c_int) -> CppBox<QByteArray>
pub unsafe fn number_2_int(arg1: c_int, base: c_int) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(int arg1, int base = …).
Sourcepub unsafe fn number_uint_int(arg1: c_uint, base: c_int) -> CppBox<QByteArray>
pub unsafe fn number_uint_int(arg1: c_uint, base: c_int) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(unsigned int arg1, int base = …).
Sourcepub unsafe fn number_longlong_int(
arg1: c_longlong,
base: c_int,
) -> CppBox<QByteArray>
pub unsafe fn number_longlong_int( arg1: c_longlong, base: c_int, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(long long arg1, int base = …).
Sourcepub unsafe fn number_ulonglong_int(
arg1: c_ulonglong,
base: c_int,
) -> CppBox<QByteArray>
pub unsafe fn number_ulonglong_int( arg1: c_ulonglong, base: c_int, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(unsigned long long arg1, int base = …).
Sourcepub unsafe fn number_double_char_int(
arg1: c_double,
f: c_char,
prec: c_int,
) -> CppBox<QByteArray>
pub unsafe fn number_double_char_int( arg1: c_double, f: c_char, prec: c_int, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(double arg1, char f = …, int prec = …).
Sourcepub unsafe fn number_int(arg1: c_int) -> CppBox<QByteArray>
pub unsafe fn number_int(arg1: c_int) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(int arg1).
Sourcepub unsafe fn number_uint(arg1: c_uint) -> CppBox<QByteArray>
pub unsafe fn number_uint(arg1: c_uint) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(unsigned int arg1).
Sourcepub unsafe fn number_longlong(arg1: c_longlong) -> CppBox<QByteArray>
pub unsafe fn number_longlong(arg1: c_longlong) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(long long arg1).
Sourcepub unsafe fn number_ulonglong(arg1: c_ulonglong) -> CppBox<QByteArray>
pub unsafe fn number_ulonglong(arg1: c_ulonglong) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(unsigned long long arg1).
Sourcepub unsafe fn number_double_char(
arg1: c_double,
f: c_char,
) -> CppBox<QByteArray>
pub unsafe fn number_double_char( arg1: c_double, f: c_char, ) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(double arg1, char f = …).
Sourcepub unsafe fn number_double(arg1: c_double) -> CppBox<QByteArray>
pub unsafe fn number_double(arg1: c_double) -> CppBox<QByteArray>
Calls C++ function: static QByteArray QByteArray::number(double arg1).
Sourcepub unsafe fn prepend_char(&self, c: c_char) -> Ref<QByteArray>
pub unsafe fn prepend_char(&self, c: c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::prepend(char c).
Sourcepub unsafe fn prepend_int_char(
&self,
count: c_int,
c: c_char,
) -> Ref<QByteArray>
pub unsafe fn prepend_int_char( &self, count: c_int, c: c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::prepend(int count, char c).
Sourcepub unsafe fn prepend_char2(&self, s: *const c_char) -> Ref<QByteArray>
pub unsafe fn prepend_char2(&self, s: *const c_char) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::prepend(const char* s).
Sourcepub unsafe fn prepend_char_int(
&self,
s: *const c_char,
len: c_int,
) -> Ref<QByteArray>
pub unsafe fn prepend_char_int( &self, s: *const c_char, len: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::prepend(const char* s, int len).
Sourcepub unsafe fn prepend_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn prepend_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::prepend(const QByteArray& a).
Sourcepub unsafe fn push_back_char(&self, c: c_char)
pub unsafe fn push_back_char(&self, c: c_char)
Calls C++ function: void QByteArray::push_back(char c).
Sourcepub unsafe fn push_back_char2(&self, c: *const c_char)
pub unsafe fn push_back_char2(&self, c: *const c_char)
Calls C++ function: void QByteArray::push_back(const char* c).
Sourcepub unsafe fn push_back_q_byte_array(&self, a: impl CastInto<Ref<QByteArray>>)
pub unsafe fn push_back_q_byte_array(&self, a: impl CastInto<Ref<QByteArray>>)
Calls C++ function: void QByteArray::push_back(const QByteArray& a).
Sourcepub unsafe fn push_front_char(&self, c: c_char)
pub unsafe fn push_front_char(&self, c: c_char)
Calls C++ function: void QByteArray::push_front(char c).
Sourcepub unsafe fn push_front_char2(&self, c: *const c_char)
pub unsafe fn push_front_char2(&self, c: *const c_char)
Calls C++ function: void QByteArray::push_front(const char* c).
Sourcepub unsafe fn push_front_q_byte_array(&self, a: impl CastInto<Ref<QByteArray>>)
pub unsafe fn push_front_q_byte_array(&self, a: impl CastInto<Ref<QByteArray>>)
Calls C++ function: void QByteArray::push_front(const QByteArray& a).
Sourcepub unsafe fn remove(&self, index: c_int, len: c_int) -> Ref<QByteArray>
pub unsafe fn remove(&self, index: c_int, len: c_int) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::remove(int index, int len).
Sourcepub unsafe fn repeated(&self, times: c_int) -> CppBox<QByteArray>
pub unsafe fn repeated(&self, times: c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::repeated(int times) const.
Sourcepub unsafe fn replace_2_int_char(
&self,
index: c_int,
len: c_int,
s: *const c_char,
) -> Ref<QByteArray>
pub unsafe fn replace_2_int_char( &self, index: c_int, len: c_int, s: *const c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(int index, int len, const char* s).
Sourcepub unsafe fn replace_2_int_char_int(
&self,
index: c_int,
len: c_int,
s: *const c_char,
alen: c_int,
) -> Ref<QByteArray>
pub unsafe fn replace_2_int_char_int( &self, index: c_int, len: c_int, s: *const c_char, alen: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(int index, int len, const char* s, int alen).
Sourcepub unsafe fn replace_2_int_q_byte_array(
&self,
index: c_int,
len: c_int,
s: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn replace_2_int_q_byte_array( &self, index: c_int, len: c_int, s: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(int index, int len, const QByteArray& s).
Sourcepub unsafe fn replace_char_char(
&self,
before: c_char,
after: *const c_char,
) -> Ref<QByteArray>
pub unsafe fn replace_char_char( &self, before: c_char, after: *const c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(char before, const char* after).
Sourcepub unsafe fn replace_char_q_byte_array(
&self,
before: c_char,
after: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn replace_char_q_byte_array( &self, before: c_char, after: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(char before, const QByteArray& after).
Sourcepub unsafe fn replace_2_char(
&self,
before: *const c_char,
after: *const c_char,
) -> Ref<QByteArray>
pub unsafe fn replace_2_char( &self, before: *const c_char, after: *const c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(const char* before, const char* after).
Sourcepub unsafe fn replace_char_int_char_int(
&self,
before: *const c_char,
bsize: c_int,
after: *const c_char,
asize: c_int,
) -> Ref<QByteArray>
pub unsafe fn replace_char_int_char_int( &self, before: *const c_char, bsize: c_int, after: *const c_char, asize: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(const char* before, int bsize, const char* after, int asize).
Sourcepub unsafe fn replace_2_q_byte_array(
&self,
before: impl CastInto<Ref<QByteArray>>,
after: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn replace_2_q_byte_array( &self, before: impl CastInto<Ref<QByteArray>>, after: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(const QByteArray& before, const QByteArray& after).
Sourcepub unsafe fn replace_q_byte_array_char(
&self,
before: impl CastInto<Ref<QByteArray>>,
after: *const c_char,
) -> Ref<QByteArray>
pub unsafe fn replace_q_byte_array_char( &self, before: impl CastInto<Ref<QByteArray>>, after: *const c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(const QByteArray& before, const char* after).
Sourcepub unsafe fn replace_char_q_byte_array2(
&self,
before: *const c_char,
after: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn replace_char_q_byte_array2( &self, before: *const c_char, after: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(const char* before, const QByteArray& after).
Sourcepub unsafe fn replace_2_char2(
&self,
before: c_char,
after: c_char,
) -> Ref<QByteArray>
pub unsafe fn replace_2_char2( &self, before: c_char, after: c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(char before, char after).
Sourcepub unsafe fn replace_q_string_char(
&self,
before: impl CastInto<Ref<QString>>,
after: *const c_char,
) -> Ref<QByteArray>
pub unsafe fn replace_q_string_char( &self, before: impl CastInto<Ref<QString>>, after: *const c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(const QString& before, const char* after).
Sourcepub unsafe fn replace_char_q_string(
&self,
c: c_char,
after: impl CastInto<Ref<QString>>,
) -> Ref<QByteArray>
pub unsafe fn replace_char_q_string( &self, c: c_char, after: impl CastInto<Ref<QString>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(char c, const QString& after).
Sourcepub unsafe fn replace_q_string_q_byte_array(
&self,
before: impl CastInto<Ref<QString>>,
after: impl CastInto<Ref<QByteArray>>,
) -> Ref<QByteArray>
pub unsafe fn replace_q_string_q_byte_array( &self, before: impl CastInto<Ref<QString>>, after: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::replace(const QString& before, const QByteArray& after).
Sourcepub unsafe fn reserve(&self, size: c_int)
pub unsafe fn reserve(&self, size: c_int)
Calls C++ function: void QByteArray::reserve(int size).
Sourcepub unsafe fn resize(&self, size: c_int)
pub unsafe fn resize(&self, size: c_int)
Calls C++ function: void QByteArray::resize(int size).
Sourcepub unsafe fn right(&self, len: c_int) -> CppBox<QByteArray>
pub unsafe fn right(&self, len: c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::right(int len) const.
Sourcepub unsafe fn right_justified_3a(
&self,
width: c_int,
fill: c_char,
truncate: bool,
) -> CppBox<QByteArray>
pub unsafe fn right_justified_3a( &self, width: c_int, fill: c_char, truncate: bool, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::rightJustified(int width, char fill = …, bool truncate = …) const.
Sourcepub unsafe fn right_justified_2a(
&self,
width: c_int,
fill: c_char,
) -> CppBox<QByteArray>
pub unsafe fn right_justified_2a( &self, width: c_int, fill: c_char, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::rightJustified(int width, char fill = …) const.
Sourcepub unsafe fn right_justified_1a(&self, width: c_int) -> CppBox<QByteArray>
pub unsafe fn right_justified_1a(&self, width: c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::rightJustified(int width) const.
Sourcepub unsafe fn set_num_short_int(
&self,
arg1: c_short,
base: c_int,
) -> Ref<QByteArray>
pub unsafe fn set_num_short_int( &self, arg1: c_short, base: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(short arg1, int base = …).
Sourcepub unsafe fn set_num_ushort_int(
&self,
arg1: c_ushort,
base: c_int,
) -> Ref<QByteArray>
pub unsafe fn set_num_ushort_int( &self, arg1: c_ushort, base: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(unsigned short arg1, int base = …).
Sourcepub unsafe fn set_num_2_int(&self, arg1: c_int, base: c_int) -> Ref<QByteArray>
pub unsafe fn set_num_2_int(&self, arg1: c_int, base: c_int) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(int arg1, int base = …).
Sourcepub unsafe fn set_num_uint_int(
&self,
arg1: c_uint,
base: c_int,
) -> Ref<QByteArray>
pub unsafe fn set_num_uint_int( &self, arg1: c_uint, base: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(unsigned int arg1, int base = …).
Sourcepub unsafe fn set_num_longlong_int(
&self,
arg1: c_longlong,
base: c_int,
) -> Ref<QByteArray>
pub unsafe fn set_num_longlong_int( &self, arg1: c_longlong, base: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(long long arg1, int base = …).
Sourcepub unsafe fn set_num_ulonglong_int(
&self,
arg1: c_ulonglong,
base: c_int,
) -> Ref<QByteArray>
pub unsafe fn set_num_ulonglong_int( &self, arg1: c_ulonglong, base: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(unsigned long long arg1, int base = …).
Sourcepub unsafe fn set_num_float_char_int(
&self,
arg1: c_float,
f: c_char,
prec: c_int,
) -> Ref<QByteArray>
pub unsafe fn set_num_float_char_int( &self, arg1: c_float, f: c_char, prec: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(float arg1, char f = …, int prec = …).
Sourcepub unsafe fn set_num_double_char_int(
&self,
arg1: c_double,
f: c_char,
prec: c_int,
) -> Ref<QByteArray>
pub unsafe fn set_num_double_char_int( &self, arg1: c_double, f: c_char, prec: c_int, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(double arg1, char f = …, int prec = …).
Sourcepub unsafe fn set_num_short(&self, arg1: c_short) -> Ref<QByteArray>
pub unsafe fn set_num_short(&self, arg1: c_short) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(short arg1).
Sourcepub unsafe fn set_num_ushort(&self, arg1: c_ushort) -> Ref<QByteArray>
pub unsafe fn set_num_ushort(&self, arg1: c_ushort) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(unsigned short arg1).
Sourcepub unsafe fn set_num_int(&self, arg1: c_int) -> Ref<QByteArray>
pub unsafe fn set_num_int(&self, arg1: c_int) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(int arg1).
Sourcepub unsafe fn set_num_uint(&self, arg1: c_uint) -> Ref<QByteArray>
pub unsafe fn set_num_uint(&self, arg1: c_uint) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(unsigned int arg1).
Sourcepub unsafe fn set_num_longlong(&self, arg1: c_longlong) -> Ref<QByteArray>
pub unsafe fn set_num_longlong(&self, arg1: c_longlong) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(long long arg1).
Sourcepub unsafe fn set_num_ulonglong(&self, arg1: c_ulonglong) -> Ref<QByteArray>
pub unsafe fn set_num_ulonglong(&self, arg1: c_ulonglong) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(unsigned long long arg1).
Sourcepub unsafe fn set_num_float_char(
&self,
arg1: c_float,
f: c_char,
) -> Ref<QByteArray>
pub unsafe fn set_num_float_char( &self, arg1: c_float, f: c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(float arg1, char f = …).
Sourcepub unsafe fn set_num_float(&self, arg1: c_float) -> Ref<QByteArray>
pub unsafe fn set_num_float(&self, arg1: c_float) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(float arg1).
Sourcepub unsafe fn set_num_double_char(
&self,
arg1: c_double,
f: c_char,
) -> Ref<QByteArray>
pub unsafe fn set_num_double_char( &self, arg1: c_double, f: c_char, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(double arg1, char f = …).
Sourcepub unsafe fn set_num_double(&self, arg1: c_double) -> Ref<QByteArray>
pub unsafe fn set_num_double(&self, arg1: c_double) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setNum(double arg1).
Sourcepub unsafe fn set_raw_data(
&self,
a: *const c_char,
n: c_uint,
) -> Ref<QByteArray>
pub unsafe fn set_raw_data( &self, a: *const c_char, n: c_uint, ) -> Ref<QByteArray>
Calls C++ function: QByteArray& QByteArray::setRawData(const char* a, unsigned int n).
Sourcepub unsafe fn shrink_to_fit(&self)
pub unsafe fn shrink_to_fit(&self)
Calls C++ function: void QByteArray::shrink_to_fit().
Sourcepub unsafe fn simplified(&self) -> CppBox<QByteArray>
pub unsafe fn simplified(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::simplified() const.
Sourcepub unsafe fn simplified_mut(&self) -> CppBox<QByteArray>
pub unsafe fn simplified_mut(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::simplified().
Sourcepub unsafe fn split(&self, sep: c_char) -> CppBox<QListOfQByteArray>
pub unsafe fn split(&self, sep: c_char) -> CppBox<QListOfQByteArray>
Calls C++ function: QList<QByteArray> QByteArray::split(char sep) const.
Sourcepub unsafe fn starts_with_q_byte_array(
&self,
a: impl CastInto<Ref<QByteArray>>,
) -> bool
pub unsafe fn starts_with_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> bool
Calls C++ function: bool QByteArray::startsWith(const QByteArray& a) const.
Sourcepub unsafe fn starts_with_char(&self, c: c_char) -> bool
pub unsafe fn starts_with_char(&self, c: c_char) -> bool
Calls C++ function: bool QByteArray::startsWith(char c) const.
Sourcepub unsafe fn starts_with_char2(&self, c: *const c_char) -> bool
pub unsafe fn starts_with_char2(&self, c: *const c_char) -> bool
Calls C++ function: bool QByteArray::startsWith(const char* c) const.
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QByteArray>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QByteArray>>)
Calls C++ function: void QByteArray::swap(QByteArray& other).
Sourcepub unsafe fn to_base64_1a(
&self,
options: QFlags<Base64Option>,
) -> CppBox<QByteArray>
pub unsafe fn to_base64_1a( &self, options: QFlags<Base64Option>, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toBase64(QFlags<QByteArray::Base64Option> options) const.
Sourcepub unsafe fn to_base64_0a(&self) -> CppBox<QByteArray>
pub unsafe fn to_base64_0a(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toBase64() const.
Sourcepub unsafe fn to_char(&self) -> *const c_char
pub unsafe fn to_char(&self) -> *const c_char
Calls C++ function: const char* QByteArray::operator char const *() const.
Sourcepub unsafe fn to_double_1a(&self, ok: *mut bool) -> c_double
pub unsafe fn to_double_1a(&self, ok: *mut bool) -> c_double
Calls C++ function: double QByteArray::toDouble(bool* ok = …) const.
Sourcepub unsafe fn to_double_0a(&self) -> c_double
pub unsafe fn to_double_0a(&self) -> c_double
Calls C++ function: double QByteArray::toDouble() const.
Sourcepub unsafe fn to_float_1a(&self, ok: *mut bool) -> c_float
pub unsafe fn to_float_1a(&self, ok: *mut bool) -> c_float
Calls C++ function: float QByteArray::toFloat(bool* ok = …) const.
Sourcepub unsafe fn to_float_0a(&self) -> c_float
pub unsafe fn to_float_0a(&self) -> c_float
Calls C++ function: float QByteArray::toFloat() const.
Sourcepub unsafe fn to_hex_0a(&self) -> CppBox<QByteArray>
pub unsafe fn to_hex_0a(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toHex() const.
Sourcepub unsafe fn to_hex_1a(&self, separator: c_char) -> CppBox<QByteArray>
pub unsafe fn to_hex_1a(&self, separator: c_char) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toHex(char separator) const.
Sourcepub unsafe fn to_int_2a(&self, ok: *mut bool, base: c_int) -> c_int
pub unsafe fn to_int_2a(&self, ok: *mut bool, base: c_int) -> c_int
Calls C++ function: int QByteArray::toInt(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_int_1a(&self, ok: *mut bool) -> c_int
pub unsafe fn to_int_1a(&self, ok: *mut bool) -> c_int
Calls C++ function: int QByteArray::toInt(bool* ok = …) const.
Sourcepub unsafe fn to_long_2a(&self, ok: *mut bool, base: c_int) -> c_long
pub unsafe fn to_long_2a(&self, ok: *mut bool, base: c_int) -> c_long
Calls C++ function: long QByteArray::toLong(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_long_1a(&self, ok: *mut bool) -> c_long
pub unsafe fn to_long_1a(&self, ok: *mut bool) -> c_long
Calls C++ function: long QByteArray::toLong(bool* ok = …) const.
Sourcepub unsafe fn to_long_0a(&self) -> c_long
pub unsafe fn to_long_0a(&self) -> c_long
Calls C++ function: long QByteArray::toLong() const.
Sourcepub unsafe fn to_long_long_2a(&self, ok: *mut bool, base: c_int) -> c_longlong
pub unsafe fn to_long_long_2a(&self, ok: *mut bool, base: c_int) -> c_longlong
Calls C++ function: long long QByteArray::toLongLong(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_long_long_1a(&self, ok: *mut bool) -> c_longlong
pub unsafe fn to_long_long_1a(&self, ok: *mut bool) -> c_longlong
Calls C++ function: long long QByteArray::toLongLong(bool* ok = …) const.
Sourcepub unsafe fn to_long_long_0a(&self) -> c_longlong
pub unsafe fn to_long_long_0a(&self) -> c_longlong
Calls C++ function: long long QByteArray::toLongLong() const.
Sourcepub unsafe fn to_lower(&self) -> CppBox<QByteArray>
pub unsafe fn to_lower(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toLower() const.
Sourcepub unsafe fn to_lower_mut(&self) -> CppBox<QByteArray>
pub unsafe fn to_lower_mut(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toLower().
Sourcepub unsafe fn to_percent_encoding_3a(
&self,
exclude: impl CastInto<Ref<QByteArray>>,
include: impl CastInto<Ref<QByteArray>>,
percent: c_char,
) -> CppBox<QByteArray>
pub unsafe fn to_percent_encoding_3a( &self, exclude: impl CastInto<Ref<QByteArray>>, include: impl CastInto<Ref<QByteArray>>, percent: c_char, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toPercentEncoding(const QByteArray& exclude = …, const QByteArray& include = …, char percent = …) const.
Sourcepub unsafe fn to_percent_encoding_2a(
&self,
exclude: impl CastInto<Ref<QByteArray>>,
include: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QByteArray>
pub unsafe fn to_percent_encoding_2a( &self, exclude: impl CastInto<Ref<QByteArray>>, include: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toPercentEncoding(const QByteArray& exclude = …, const QByteArray& include = …) const.
Sourcepub unsafe fn to_percent_encoding_1a(
&self,
exclude: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QByteArray>
pub unsafe fn to_percent_encoding_1a( &self, exclude: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toPercentEncoding(const QByteArray& exclude = …) const.
Sourcepub unsafe fn to_percent_encoding_0a(&self) -> CppBox<QByteArray>
pub unsafe fn to_percent_encoding_0a(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toPercentEncoding() const.
Sourcepub unsafe fn to_short_2a(&self, ok: *mut bool, base: c_int) -> c_short
pub unsafe fn to_short_2a(&self, ok: *mut bool, base: c_int) -> c_short
Calls C++ function: short QByteArray::toShort(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_short_1a(&self, ok: *mut bool) -> c_short
pub unsafe fn to_short_1a(&self, ok: *mut bool) -> c_short
Calls C++ function: short QByteArray::toShort(bool* ok = …) const.
Sourcepub unsafe fn to_short_0a(&self) -> c_short
pub unsafe fn to_short_0a(&self) -> c_short
Calls C++ function: short QByteArray::toShort() const.
Sourcepub unsafe fn to_u_int_2a(&self, ok: *mut bool, base: c_int) -> c_uint
pub unsafe fn to_u_int_2a(&self, ok: *mut bool, base: c_int) -> c_uint
Calls C++ function: unsigned int QByteArray::toUInt(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_u_int_1a(&self, ok: *mut bool) -> c_uint
pub unsafe fn to_u_int_1a(&self, ok: *mut bool) -> c_uint
Calls C++ function: unsigned int QByteArray::toUInt(bool* ok = …) const.
Sourcepub unsafe fn to_u_int_0a(&self) -> c_uint
pub unsafe fn to_u_int_0a(&self) -> c_uint
Calls C++ function: unsigned int QByteArray::toUInt() const.
Sourcepub unsafe fn to_u_long_2a(&self, ok: *mut bool, base: c_int) -> c_ulong
pub unsafe fn to_u_long_2a(&self, ok: *mut bool, base: c_int) -> c_ulong
Calls C++ function: unsigned long QByteArray::toULong(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_u_long_1a(&self, ok: *mut bool) -> c_ulong
pub unsafe fn to_u_long_1a(&self, ok: *mut bool) -> c_ulong
Calls C++ function: unsigned long QByteArray::toULong(bool* ok = …) const.
Sourcepub unsafe fn to_u_long_0a(&self) -> c_ulong
pub unsafe fn to_u_long_0a(&self) -> c_ulong
Calls C++ function: unsigned long QByteArray::toULong() const.
Sourcepub unsafe fn to_u_long_long_2a(
&self,
ok: *mut bool,
base: c_int,
) -> c_ulonglong
pub unsafe fn to_u_long_long_2a( &self, ok: *mut bool, base: c_int, ) -> c_ulonglong
Calls C++ function: unsigned long long QByteArray::toULongLong(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_u_long_long_1a(&self, ok: *mut bool) -> c_ulonglong
pub unsafe fn to_u_long_long_1a(&self, ok: *mut bool) -> c_ulonglong
Calls C++ function: unsigned long long QByteArray::toULongLong(bool* ok = …) const.
Sourcepub unsafe fn to_u_long_long_0a(&self) -> c_ulonglong
pub unsafe fn to_u_long_long_0a(&self) -> c_ulonglong
Calls C++ function: unsigned long long QByteArray::toULongLong() const.
Sourcepub unsafe fn to_u_short_2a(&self, ok: *mut bool, base: c_int) -> c_ushort
pub unsafe fn to_u_short_2a(&self, ok: *mut bool, base: c_int) -> c_ushort
Calls C++ function: unsigned short QByteArray::toUShort(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_u_short_1a(&self, ok: *mut bool) -> c_ushort
pub unsafe fn to_u_short_1a(&self, ok: *mut bool) -> c_ushort
Calls C++ function: unsigned short QByteArray::toUShort(bool* ok = …) const.
Sourcepub unsafe fn to_u_short_0a(&self) -> c_ushort
pub unsafe fn to_u_short_0a(&self) -> c_ushort
Calls C++ function: unsigned short QByteArray::toUShort() const.
Sourcepub unsafe fn to_upper(&self) -> CppBox<QByteArray>
pub unsafe fn to_upper(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toUpper() const.
Sourcepub unsafe fn to_upper_mut(&self) -> CppBox<QByteArray>
pub unsafe fn to_upper_mut(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::toUpper().
Sourcepub unsafe fn to_void(&self) -> *const c_void
pub unsafe fn to_void(&self) -> *const c_void
Calls C++ function: const void* QByteArray::operator void const *() const.
Sourcepub unsafe fn trimmed(&self) -> CppBox<QByteArray>
pub unsafe fn trimmed(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::trimmed() const.
Sourcepub unsafe fn trimmed_mut(&self) -> CppBox<QByteArray>
pub unsafe fn trimmed_mut(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArray::trimmed().
Trait Implementations§
Source§impl Add<Ref<QByteArray>> for &QByteArray
impl Add<Ref<QByteArray>> for &QByteArray
Source§fn add(self, a2: Ref<QByteArray>) -> CppBox<QByteArray>
fn add(self, a2: Ref<QByteArray>) -> CppBox<QByteArray>
Calls C++ function: QByteArray operator+(const QByteArray& a1, const QByteArray& a2).
Source§type Output = CppBox<QByteArray>
type Output = CppBox<QByteArray>
+ operator.