Skip to main content

QByteArray

Struct QByteArray 

Source
pub struct QByteArray { /* private fields */ }
Expand description

C++ class: QByteArray.

Implementations§

Source§

impl QByteArray

Source

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

Source

pub unsafe fn add_assign_char(&self, c: c_char) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::operator+=(char c).

Source

pub unsafe fn add_assign_char2(&self, s: *const c_char) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::operator+=(const char* s).

Source

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

Source

pub unsafe fn add_assign_q_string( &self, s: impl CastInto<Ref<QString>>, ) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::operator+=(const QString& s).

Source

pub unsafe fn append_char(&self, c: c_char) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::append(char c).

Source

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

Source

pub unsafe fn append_char2(&self, s: *const c_char) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::append(const char* s).

Source

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

Source

pub unsafe fn append_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::append(const QByteArray& a).

Source

pub unsafe fn append_q_string( &self, s: impl CastInto<Ref<QString>>, ) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::append(const QString& s).

Source

pub unsafe fn at(&self, i: c_int) -> c_char

Calls C++ function: char QByteArray::at(int i) const.

Source

pub unsafe fn back(&self) -> c_char

Calls C++ function: char QByteArray::back() const.

Source

pub unsafe fn back_mut(&self) -> CppBox<QByteRef>

Calls C++ function: QByteRef QByteArray::back().

Source

pub unsafe fn begin_mut(&self) -> *mut c_char

Calls C++ function: char* QByteArray::begin().

Source

pub unsafe fn begin(&self) -> *const c_char

Calls C++ function: const char* QByteArray::begin() const.

Source

pub unsafe fn capacity(&self) -> c_int

Calls C++ function: int QByteArray::capacity() const.

Source

pub unsafe fn cbegin(&self) -> *const c_char

Calls C++ function: const char* QByteArray::cbegin() const.

Source

pub unsafe fn cend(&self) -> *const c_char

Calls C++ function: const char* QByteArray::cend() const.

Source

pub unsafe fn chop(&self, n: c_int)

Calls C++ function: void QByteArray::chop(int n).

Source

pub unsafe fn chopped(&self, len: c_int) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::chopped(int len) const.

Source

pub unsafe fn clear(&self)

Calls C++ function: void QByteArray::clear().

Source

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.

Source

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.

Source

pub unsafe fn compare_char(&self, c: *const c_char) -> c_int

Calls C++ function: int QByteArray::compare(const char* c) const.

Source

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.

Source

pub unsafe fn const_begin(&self) -> *const c_char

Calls C++ function: const char* QByteArray::constBegin() const.

Source

pub unsafe fn const_data(&self) -> *const c_char

Calls C++ function: const char* QByteArray::constData() const.

Source

pub unsafe fn const_end(&self) -> *const c_char

Calls C++ function: const char* QByteArray::constEnd() const.

Source

pub unsafe fn contains_char(&self, c: c_char) -> bool

Calls C++ function: bool QByteArray::contains(char c) const.

Source

pub unsafe fn contains_char2(&self, a: *const c_char) -> bool

Calls C++ function: bool QByteArray::contains(const char* a) const.

Source

pub unsafe fn contains_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> bool

Calls C++ function: bool QByteArray::contains(const QByteArray& a) const.

Source

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

Source

pub unsafe fn copy_from_char(&self, str: *const c_char) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::operator=(const char* str).

Source

pub unsafe fn count_char(&self, c: c_char) -> c_int

Calls C++ function: int QByteArray::count(char c) const.

Source

pub unsafe fn count_char2(&self, a: *const c_char) -> c_int

Calls C++ function: int QByteArray::count(const char* a) const.

Source

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.

Source

pub unsafe fn count(&self) -> c_int

Calls C++ function: int QByteArray::count() const.

Source

pub unsafe fn data_mut(&self) -> *mut c_char

Calls C++ function: char* QByteArray::data().

Source

pub unsafe fn data(&self) -> *const c_char

Calls C++ function: const char* QByteArray::data() const.

Source

pub unsafe fn detach(&self)

Calls C++ function: void QByteArray::detach().

Source

pub unsafe fn end_mut(&self) -> *mut c_char

Calls C++ function: char* QByteArray::end().

Source

pub unsafe fn end(&self) -> *const c_char

Calls C++ function: const char* QByteArray::end() const.

Source

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.

Source

pub unsafe fn ends_with_char(&self, c: c_char) -> bool

Calls C++ function: bool QByteArray::endsWith(char c) const.

Source

pub unsafe fn ends_with_char2(&self, c: *const c_char) -> bool

Calls C++ function: bool QByteArray::endsWith(const char* c) const.

Source

pub unsafe fn fill_2a(&self, c: c_char, size: c_int) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::fill(char c, int size = …).

Source

pub unsafe fn fill_1a(&self, c: c_char) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::fill(char c).

Source

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

Source

pub unsafe fn from_base64_1a( base64: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>

Calls C++ function: static QByteArray QByteArray::fromBase64(const QByteArray& base64).

Source

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 = …).

Source

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

Source

pub unsafe fn from_hex( hex_encoded: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>

Calls C++ function: static QByteArray QByteArray::fromHex(const QByteArray& hexEncoded).

Source

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 = …).

Source

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

Source

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

Source

pub unsafe fn front(&self) -> c_char

Calls C++ function: char QByteArray::front() const.

Source

pub unsafe fn front_mut(&self) -> CppBox<QByteRef>

Calls C++ function: QByteRef QByteArray::front().

Source

pub unsafe fn index_int(&self, i: c_int) -> c_char

Calls C++ function: char QByteArray::operator[](int i) const.

Source

pub unsafe fn index_uint(&self, i: c_uint) -> c_char

Calls C++ function: char QByteArray::operator[](unsigned int i) const.

Source

pub unsafe fn index_int_mut(&self, i: c_int) -> CppBox<QByteRef>

Calls C++ function: QByteRef QByteArray::operator[](int i).

Source

pub unsafe fn index_uint_mut(&self, i: c_uint) -> CppBox<QByteRef>

Calls C++ function: QByteRef QByteArray::operator[](unsigned int i).

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub unsafe fn index_of_char(&self, c: c_char) -> c_int

Calls C++ function: int QByteArray::indexOf(char c) const.

Source

pub unsafe fn index_of_char2(&self, c: *const c_char) -> c_int

Calls C++ function: int QByteArray::indexOf(const char* c) const.

Source

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.

Source

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.

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub unsafe fn is_detached(&self) -> bool

Calls C++ function: bool QByteArray::isDetached() const.

Source

pub unsafe fn is_empty(&self) -> bool

Calls C++ function: bool QByteArray::isEmpty() const.

Source

pub unsafe fn is_lower(&self) -> bool

Calls C++ function: bool QByteArray::isLower() const.

Source

pub unsafe fn is_null(&self) -> bool

Calls C++ function: bool QByteArray::isNull() const.

Source

pub unsafe fn is_shared_with( &self, other: impl CastInto<Ref<QByteArray>>, ) -> bool

Calls C++ function: bool QByteArray::isSharedWith(const QByteArray& other) const.

Source

pub unsafe fn is_upper(&self) -> bool

Calls C++ function: bool QByteArray::isUpper() const.

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub unsafe fn last_index_of_char(&self, c: c_char) -> c_int

Calls C++ function: int QByteArray::lastIndexOf(char c) const.

Source

pub unsafe fn last_index_of_char2(&self, c: *const c_char) -> c_int

Calls C++ function: int QByteArray::lastIndexOf(const char* c) const.

Source

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.

Source

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.

Source

pub unsafe fn left(&self, len: c_int) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::left(int len) const.

Source

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.

Source

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.

Source

pub unsafe fn left_justified_1a(&self, width: c_int) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::leftJustified(int width) const.

Source

pub unsafe fn length(&self) -> c_int

Calls C++ function: int QByteArray::length() const.

Source

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.

Source

pub unsafe fn mid_1a(&self, index: c_int) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::mid(int index) const.

Source

pub unsafe fn new() -> CppBox<QByteArray>

Calls C++ function: [constructor] void QByteArray::QByteArray().

Source

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 = …).

Source

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

Source

pub unsafe fn from_char(arg1: *const c_char) -> CppBox<QByteArray>

Calls C++ function: [constructor] void QByteArray::QByteArray(const char* arg1).

Source

pub unsafe fn new_copy( arg1: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>

Calls C++ function: [constructor] void QByteArray::QByteArray(const QByteArray& arg1).

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

pub unsafe fn number_int(arg1: c_int) -> CppBox<QByteArray>

Calls C++ function: static QByteArray QByteArray::number(int arg1).

Source

pub unsafe fn number_uint(arg1: c_uint) -> CppBox<QByteArray>

Calls C++ function: static QByteArray QByteArray::number(unsigned int arg1).

Source

pub unsafe fn number_longlong(arg1: c_longlong) -> CppBox<QByteArray>

Calls C++ function: static QByteArray QByteArray::number(long long arg1).

Source

pub unsafe fn number_ulonglong(arg1: c_ulonglong) -> CppBox<QByteArray>

Calls C++ function: static QByteArray QByteArray::number(unsigned long long arg1).

Source

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 = …).

Source

pub unsafe fn number_double(arg1: c_double) -> CppBox<QByteArray>

Calls C++ function: static QByteArray QByteArray::number(double arg1).

Source

pub unsafe fn prepend_char(&self, c: c_char) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::prepend(char c).

Source

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

Source

pub unsafe fn prepend_char2(&self, s: *const c_char) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::prepend(const char* s).

Source

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

Source

pub unsafe fn prepend_q_byte_array( &self, a: impl CastInto<Ref<QByteArray>>, ) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::prepend(const QByteArray& a).

Source

pub unsafe fn push_back_char(&self, c: c_char)

Calls C++ function: void QByteArray::push_back(char c).

Source

pub unsafe fn push_back_char2(&self, c: *const c_char)

Calls C++ function: void QByteArray::push_back(const char* c).

Source

pub unsafe fn push_back_q_byte_array(&self, a: impl CastInto<Ref<QByteArray>>)

Calls C++ function: void QByteArray::push_back(const QByteArray& a).

Source

pub unsafe fn push_front_char(&self, c: c_char)

Calls C++ function: void QByteArray::push_front(char c).

Source

pub unsafe fn push_front_char2(&self, c: *const c_char)

Calls C++ function: void QByteArray::push_front(const char* c).

Source

pub unsafe fn push_front_q_byte_array(&self, a: impl CastInto<Ref<QByteArray>>)

Calls C++ function: void QByteArray::push_front(const QByteArray& a).

Source

pub unsafe fn remove(&self, index: c_int, len: c_int) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::remove(int index, int len).

Source

pub unsafe fn repeated(&self, times: c_int) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::repeated(int times) const.

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub unsafe fn reserve(&self, size: c_int)

Calls C++ function: void QByteArray::reserve(int size).

Source

pub unsafe fn resize(&self, size: c_int)

Calls C++ function: void QByteArray::resize(int size).

Source

pub unsafe fn right(&self, len: c_int) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::right(int len) const.

Source

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.

Source

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.

Source

pub unsafe fn right_justified_1a(&self, width: c_int) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::rightJustified(int width) const.

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

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 = …).

Source

pub unsafe fn set_num_short(&self, arg1: c_short) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::setNum(short arg1).

Source

pub unsafe fn set_num_ushort(&self, arg1: c_ushort) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::setNum(unsigned short arg1).

Source

pub unsafe fn set_num_int(&self, arg1: c_int) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::setNum(int arg1).

Source

pub unsafe fn set_num_uint(&self, arg1: c_uint) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::setNum(unsigned int arg1).

Source

pub unsafe fn set_num_longlong(&self, arg1: c_longlong) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::setNum(long long arg1).

Source

pub unsafe fn set_num_ulonglong(&self, arg1: c_ulonglong) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::setNum(unsigned long long arg1).

Source

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 = …).

Source

pub unsafe fn set_num_float(&self, arg1: c_float) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::setNum(float arg1).

Source

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 = …).

Source

pub unsafe fn set_num_double(&self, arg1: c_double) -> Ref<QByteArray>

Calls C++ function: QByteArray& QByteArray::setNum(double arg1).

Source

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

Source

pub unsafe fn shrink_to_fit(&self)

Calls C++ function: void QByteArray::shrink_to_fit().

Source

pub unsafe fn simplified(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::simplified() const.

Source

pub unsafe fn simplified_mut(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::simplified().

Source

pub unsafe fn size(&self) -> c_int

Calls C++ function: int QByteArray::size() const.

Source

pub unsafe fn split(&self, sep: c_char) -> CppBox<QListOfQByteArray>

Calls C++ function: QList<QByteArray> QByteArray::split(char sep) const.

Source

pub unsafe fn squeeze(&self)

Calls C++ function: void QByteArray::squeeze().

Source

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.

Source

pub unsafe fn starts_with_char(&self, c: c_char) -> bool

Calls C++ function: bool QByteArray::startsWith(char c) const.

Source

pub unsafe fn starts_with_char2(&self, c: *const c_char) -> bool

Calls C++ function: bool QByteArray::startsWith(const char* c) const.

Source

pub unsafe fn swap(&self, other: impl CastInto<Ref<QByteArray>>)

Calls C++ function: void QByteArray::swap(QByteArray& other).

Source

pub unsafe fn to_base64_1a( &self, options: QFlags<Base64Option>, ) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toBase64(QFlags<QByteArray::Base64Option> options) const.

Source

pub unsafe fn to_base64_0a(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toBase64() const.

Source

pub unsafe fn to_char(&self) -> *const c_char

Calls C++ function: const char* QByteArray::operator char const *() const.

Source

pub unsafe fn to_double_1a(&self, ok: *mut bool) -> c_double

Calls C++ function: double QByteArray::toDouble(bool* ok = …) const.

Source

pub unsafe fn to_double_0a(&self) -> c_double

Calls C++ function: double QByteArray::toDouble() const.

Source

pub unsafe fn to_float_1a(&self, ok: *mut bool) -> c_float

Calls C++ function: float QByteArray::toFloat(bool* ok = …) const.

Source

pub unsafe fn to_float_0a(&self) -> c_float

Calls C++ function: float QByteArray::toFloat() const.

Source

pub unsafe fn to_hex_0a(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toHex() const.

Source

pub unsafe fn to_hex_1a(&self, separator: c_char) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toHex(char separator) const.

Source

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.

Source

pub unsafe fn to_int_1a(&self, ok: *mut bool) -> c_int

Calls C++ function: int QByteArray::toInt(bool* ok = …) const.

Source

pub unsafe fn to_int_0a(&self) -> c_int

Calls C++ function: int QByteArray::toInt() const.

Source

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.

Source

pub unsafe fn to_long_1a(&self, ok: *mut bool) -> c_long

Calls C++ function: long QByteArray::toLong(bool* ok = …) const.

Source

pub unsafe fn to_long_0a(&self) -> c_long

Calls C++ function: long QByteArray::toLong() const.

Source

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.

Source

pub unsafe fn to_long_long_1a(&self, ok: *mut bool) -> c_longlong

Calls C++ function: long long QByteArray::toLongLong(bool* ok = …) const.

Source

pub unsafe fn to_long_long_0a(&self) -> c_longlong

Calls C++ function: long long QByteArray::toLongLong() const.

Source

pub unsafe fn to_lower(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toLower() const.

Source

pub unsafe fn to_lower_mut(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toLower().

Source

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.

Source

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.

Source

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.

Source

pub unsafe fn to_percent_encoding_0a(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toPercentEncoding() const.

Source

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.

Source

pub unsafe fn to_short_1a(&self, ok: *mut bool) -> c_short

Calls C++ function: short QByteArray::toShort(bool* ok = …) const.

Source

pub unsafe fn to_short_0a(&self) -> c_short

Calls C++ function: short QByteArray::toShort() const.

Source

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.

Source

pub unsafe fn to_u_int_1a(&self, ok: *mut bool) -> c_uint

Calls C++ function: unsigned int QByteArray::toUInt(bool* ok = …) const.

Source

pub unsafe fn to_u_int_0a(&self) -> c_uint

Calls C++ function: unsigned int QByteArray::toUInt() const.

Source

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.

Source

pub unsafe fn to_u_long_1a(&self, ok: *mut bool) -> c_ulong

Calls C++ function: unsigned long QByteArray::toULong(bool* ok = …) const.

Source

pub unsafe fn to_u_long_0a(&self) -> c_ulong

Calls C++ function: unsigned long QByteArray::toULong() const.

Source

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.

Source

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.

Source

pub unsafe fn to_u_long_long_0a(&self) -> c_ulonglong

Calls C++ function: unsigned long long QByteArray::toULongLong() const.

Source

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.

Source

pub unsafe fn to_u_short_1a(&self, ok: *mut bool) -> c_ushort

Calls C++ function: unsigned short QByteArray::toUShort(bool* ok = …) const.

Source

pub unsafe fn to_u_short_0a(&self) -> c_ushort

Calls C++ function: unsigned short QByteArray::toUShort() const.

Source

pub unsafe fn to_upper(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toUpper() const.

Source

pub unsafe fn to_upper_mut(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::toUpper().

Source

pub unsafe fn to_void(&self) -> *const c_void

Calls C++ function: const void* QByteArray::operator void const *() const.

Source

pub unsafe fn trimmed(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::trimmed() const.

Source

pub unsafe fn trimmed_mut(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QByteArray::trimmed().

Source

pub unsafe fn truncate(&self, pos: c_int)

Calls C++ function: void QByteArray::truncate(int pos).

Trait Implementations§

Source§

impl Add<*const i8> for &QByteArray

Source§

fn add(self, a2: *const c_char) -> CppBox<QByteArray>

Calls C++ function: QByteArray operator+(const QByteArray& a1, const char* a2).

Source§

type Output = CppBox<QByteArray>

The resulting type after applying the + operator.
Source§

impl Add<Ref<QByteArray>> for &QByteArray

Source§

fn add(self, a2: Ref<QByteArray>) -> CppBox<QByteArray>

Calls C++ function: QByteArray operator+(const QByteArray& a1, const QByteArray& a2).

Source§

type Output = CppBox<QByteArray>

The resulting type after applying the + operator.
Source§

impl Add<Ref<QString>> for &QByteArray

Source§

fn add(self, s: Ref<QString>) -> CppBox<QString>

Calls C++ function: QString operator+(const QByteArray& ba, const QString& s).

Source§

type Output = CppBox<QString>

The resulting type after applying the + operator.
Source§

impl Add<i8> for &QByteArray

Source§

fn add(self, a2: c_char) -> CppBox<QByteArray>

Calls C++ function: QByteArray operator+(const QByteArray& a1, char a2).

Source§

type Output = CppBox<QByteArray>

The resulting type after applying the + operator.
Source§

impl Begin for QByteArray

Source§

unsafe fn begin(&self) -> *const c_char

Calls C++ function: const char* QByteArray::begin() const.

Source§

type Output = *const i8

Output type.
Source§

impl BeginMut for QByteArray

Source§

unsafe fn begin_mut(&self) -> *mut c_char

Calls C++ function: char* QByteArray::begin().

Source§

type Output = *mut i8

Output type.
Source§

impl CppDeletable for QByteArray

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QByteArray::~QByteArray().

Source§

impl Data for QByteArray

Source§

unsafe fn data(&self) -> *const c_char

Calls C++ function: const char* QByteArray::data() const.

Source§

type Output = *const i8

Return type of data() function.
Source§

impl DataMut for QByteArray

Source§

unsafe fn data_mut(&self) -> *mut c_char

Calls C++ function: char* QByteArray::data().

Source§

type Output = *mut i8

Return type of data_mut() function.
Source§

impl End for QByteArray

Source§

unsafe fn end(&self) -> *const c_char

Calls C++ function: const char* QByteArray::end() const.

Source§

type Output = *const i8

Output type.
Source§

impl EndMut for QByteArray

Source§

unsafe fn end_mut(&self) -> *mut c_char

Calls C++ function: char* QByteArray::end().

Source§

type Output = *mut i8

Output type.
Source§

impl Ge<*const i8> for QByteArray

Source§

unsafe fn ge(&self, a2: &*const c_char) -> bool

Calls C++ function: bool operator>=(const QByteArray& a1, const char* a2).

Source§

impl Ge<Ref<QByteArray>> for QByteArray

Source§

unsafe fn ge(&self, a2: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator>=(const QByteArray& a1, const QByteArray& a2).

Source§

impl Ge<Ref<QString>> for QByteArray

Source§

unsafe fn ge(&self, s2: &Ref<QString>) -> bool

Calls C++ function: bool QByteArray::operator>=(const QString& s2) const.

Source§

impl Ge<Ref<QStringRef>> for QByteArray

Source§

unsafe fn ge(&self, rhs: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator>=(const QByteArray& lhs, const QStringRef& rhs).

Source§

impl Gt<*const i8> for QByteArray

Source§

unsafe fn gt(&self, a2: &*const c_char) -> bool

Calls C++ function: bool operator>(const QByteArray& a1, const char* a2).

Source§

impl Gt<Ref<QByteArray>> for QByteArray

Source§

unsafe fn gt(&self, a2: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator>(const QByteArray& a1, const QByteArray& a2).

Source§

impl Gt<Ref<QString>> for QByteArray

Source§

unsafe fn gt(&self, s2: &Ref<QString>) -> bool

Calls C++ function: bool QByteArray::operator>(const QString& s2) const.

Source§

impl Gt<Ref<QStringRef>> for QByteArray

Source§

unsafe fn gt(&self, rhs: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator>(const QByteArray& lhs, const QStringRef& rhs).

Source§

impl Le<*const i8> for QByteArray

Source§

unsafe fn le(&self, a2: &*const c_char) -> bool

Calls C++ function: bool operator<=(const QByteArray& a1, const char* a2).

Source§

impl Le<Ref<QByteArray>> for QByteArray

Source§

unsafe fn le(&self, a2: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator<=(const QByteArray& a1, const QByteArray& a2).

Source§

impl Le<Ref<QString>> for QByteArray

Source§

unsafe fn le(&self, s2: &Ref<QString>) -> bool

Calls C++ function: bool QByteArray::operator<=(const QString& s2) const.

Source§

impl Le<Ref<QStringRef>> for QByteArray

Source§

unsafe fn le(&self, rhs: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator<=(const QByteArray& lhs, const QStringRef& rhs).

Source§

impl Lt<*const i8> for QByteArray

Source§

unsafe fn lt(&self, a2: &*const c_char) -> bool

Calls C++ function: bool operator<(const QByteArray& a1, const char* a2).

Source§

impl Lt<Ref<QByteArray>> for QByteArray

Source§

unsafe fn lt(&self, a2: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator<(const QByteArray& a1, const QByteArray& a2).

Source§

impl Lt<Ref<QString>> for QByteArray

Source§

unsafe fn lt(&self, s2: &Ref<QString>) -> bool

Calls C++ function: bool QByteArray::operator<(const QString& s2) const.

Source§

impl Lt<Ref<QStringRef>> for QByteArray

Source§

unsafe fn lt(&self, rhs: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator<(const QByteArray& lhs, const QStringRef& rhs).

Source§

impl PartialEq<*const i8> for QByteArray

Source§

fn eq(&self, a2: &*const c_char) -> bool

Calls C++ function: bool operator==(const QByteArray& a1, const char* a2).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Ref<QByteArray>> for QByteArray

Source§

fn eq(&self, a2: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator==(const QByteArray& a1, const QByteArray& a2).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Ref<QString>> for QByteArray

Source§

fn eq(&self, s2: &Ref<QString>) -> bool

Calls C++ function: bool QByteArray::operator==(const QString& s2) const.

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Ref<QStringRef>> for QByteArray

Source§

fn eq(&self, rhs: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator==(const QByteArray& lhs, const QStringRef& rhs).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Size for QByteArray

Source§

unsafe fn size(&self) -> usize

Calls C++ function: int QByteArray::size() const.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.