QByteArray

Binding for C++ class QByteArray.

extern (C++) extern (C++)
@Q_RELOCATABLE_TYPE
struct QByteArray {}

Constructors

this
this(const(char)* , qsizetype size)
Undocumented in source.
this
this(qsizetype size, char c)
Undocumented in source.
this
this(qsizetype size, qt.core.namespace.Initialization )
Undocumented in source.
this
this(DataPointer dd)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

Base64Options
alias Base64Options = QFlags!(Base64Option)
Undocumented in source.
ConstIterator
alias ConstIterator = const_iterator
Undocumented in source.
DataPointer
alias DataPointer = QByteArrayData
Undocumented in source.
Iterator
alias Iterator = iterator
Undocumented in source.
const_iterator
alias const_iterator = const(char)*
Undocumented in source.
const_pointer
alias const_pointer = const(char)*
Undocumented in source.
difference_type
alias difference_type = qptrdiff
Undocumented in source.
iterator
alias iterator = char*
Undocumented in source.
pointer
alias pointer = char*
Undocumented in source.
size_type
alias size_type = qsizetype
Undocumented in source.
value_type
alias value_type = char
Undocumented in source.

Enums

Base64DecodingStatus
enum Base64DecodingStatus
Undocumented in source.
Base64Option
enum Base64Option
Undocumented in source.

Functions

append
QByteArray append(QByteArrayView a)
Undocumented in source. Be warned that the author may not have intended to support it.
append
QByteArray append(const(QByteArray) a)
Undocumented in source.
append
QByteArray append(const(char)* s, qsizetype len)
Undocumented in source. Be warned that the author may not have intended to support it.
append
QByteArray append(const(char)* s)
Undocumented in source. Be warned that the author may not have intended to support it.
append
QByteArray append(char c)
Undocumented in source.
append
QByteArray append(qsizetype n, char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
at
char at(qsizetype i)
Undocumented in source. Be warned that the author may not have intended to support it.
back
char back()
Undocumented in source. Be warned that the author may not have intended to support it.
back
char back()
Undocumented in source. Be warned that the author may not have intended to support it.
begin
const_iterator begin()
Undocumented in source. Be warned that the author may not have intended to support it.
begin
iterator begin()
Undocumented in source. Be warned that the author may not have intended to support it.
capacity
qsizetype capacity()
Undocumented in source. Be warned that the author may not have intended to support it.
cbegin
const_iterator cbegin()
Undocumented in source. Be warned that the author may not have intended to support it.
cend
const_iterator cend()
Undocumented in source. Be warned that the author may not have intended to support it.
chop
void chop(qsizetype n)
Undocumented in source.
chopped
QByteArray chopped(qsizetype len)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source.
compare
int compare(QByteArrayView a, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
constBegin
const_iterator constBegin()
Undocumented in source. Be warned that the author may not have intended to support it.
constData
const(char)* constData()
Undocumented in source. Be warned that the author may not have intended to support it.
constEnd
const_iterator constEnd()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(QByteArrayView bv)
Undocumented in source. Be warned that the author may not have intended to support it.
count
qsizetype count()
Undocumented in source. Be warned that the author may not have intended to support it.
count
qsizetype count(char c)
Undocumented in source.
count
qsizetype count(QByteArrayView bv)
Undocumented in source. Be warned that the author may not have intended to support it.
data
char* data()
Undocumented in source. Be warned that the author may not have intended to support it.
data
const(char)* data()
Undocumented in source. Be warned that the author may not have intended to support it.
data_ptr
DataPointer data_ptr()
Undocumented in source. Be warned that the author may not have intended to support it.
detach
void detach()
Undocumented in source. Be warned that the author may not have intended to support it.
end
iterator end()
Undocumented in source. Be warned that the author may not have intended to support it.
end
const_iterator end()
Undocumented in source. Be warned that the author may not have intended to support it.
endsWith
bool endsWith(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
endsWith
bool endsWith(QByteArrayView bv)
Undocumented in source. Be warned that the author may not have intended to support it.
erase
iterator erase(const_iterator first, const_iterator last)
Undocumented in source.
fill
QByteArray fill(char c, qsizetype size)
Undocumented in source.
first
QByteArray first(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
front
char front()
Undocumented in source. Be warned that the author may not have intended to support it.
front
char front()
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
qsizetype indexOf(QByteArrayView bv, qsizetype from)
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
qsizetype indexOf(char c, qsizetype from)
Undocumented in source.
insert
QByteArray insert(qsizetype i, QByteArrayView data)
Undocumented in source.
insert
QByteArray insert(qsizetype i, const(char)* s)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
QByteArray insert(qsizetype i, const(QByteArray) data)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
QByteArray insert(qsizetype i, qsizetype count, char c)
Undocumented in source.
insert
QByteArray insert(qsizetype i, char c)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
QByteArray insert(qsizetype i, const(char)* s, qsizetype len)
Undocumented in source. Be warned that the author may not have intended to support it.
isDetached
bool isDetached()
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
isLower
bool isLower()
Undocumented in source.
isNull
bool isNull()
Undocumented in source.
isSharedWith
bool isSharedWith(const(QByteArray) other)
Undocumented in source. Be warned that the author may not have intended to support it.
isUpper
bool isUpper()
Undocumented in source.
last
QByteArray last(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(QByteArrayView bv, qsizetype from)
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(QByteArrayView bv)
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(char c, qsizetype from)
Undocumented in source.
left
QByteArray left(qsizetype len)
Undocumented in source.
leftJustified
QByteArray leftJustified(qsizetype width, char fill, bool truncate)
Undocumented in source.
length
qsizetype length()
Undocumented in source. Be warned that the author may not have intended to support it.
mid
QByteArray mid(qsizetype index, qsizetype len)
Undocumented in source.
opIndex
char opIndex(qsizetype i)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
char opIndex(qsizetype i)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QByteArray opOpAssign(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QByteArray opOpAssign(const(char)* s)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QByteArray opOpAssign(const(QByteArray) a)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QByteArray opOpAssign(QByteArrayView a)
Undocumented in source. Be warned that the author may not have intended to support it.
prepend
QByteArray prepend(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
prepend
QByteArray prepend(qsizetype n, char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
prepend
QByteArray prepend(const(char)* s)
Undocumented in source. Be warned that the author may not have intended to support it.
prepend
QByteArray prepend(const(char)* s, qsizetype len)
Undocumented in source. Be warned that the author may not have intended to support it.
prepend
QByteArray prepend(const(QByteArray) a)
Undocumented in source.
prepend
QByteArray prepend(QByteArrayView a)
Undocumented in source. Be warned that the author may not have intended to support it.
push_back
void push_back(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
push_back
void push_back(const(char)* s)
Undocumented in source. Be warned that the author may not have intended to support it.
push_back
void push_back(const(QByteArray) a)
Undocumented in source. Be warned that the author may not have intended to support it.
push_back
void push_back(QByteArrayView a)
Undocumented in source. Be warned that the author may not have intended to support it.
push_front
void push_front(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
push_front
void push_front(const(char)* c)
Undocumented in source. Be warned that the author may not have intended to support it.
push_front
void push_front(const(QByteArray) a)
Undocumented in source. Be warned that the author may not have intended to support it.
push_front
void push_front(QByteArrayView a)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
QByteArray remove(qsizetype index, qsizetype len)
Undocumented in source.
removeIf
QByteArray removeIf(Predicate pred)
Undocumented in source. Be warned that the author may not have intended to support it.
repeated
QByteArray repeated(qsizetype times)
Undocumented in source.
replace
QByteArray replace(qsizetype index, qsizetype len, const(char)* s, qsizetype alen)
Undocumented in source. Be warned that the author may not have intended to support it.
replace
QByteArray replace(qsizetype index, qsizetype len, QByteArrayView s)
Undocumented in source.
replace
QByteArray replace(char before, QByteArrayView after)
Undocumented in source. Be warned that the author may not have intended to support it.
replace
QByteArray replace(const(char)* before, qsizetype bsize, const(char)* after, qsizetype asize)
Undocumented in source. Be warned that the author may not have intended to support it.
replace
QByteArray replace(QByteArrayView before, QByteArrayView after)
Undocumented in source.
replace
QByteArray replace(char before, char after)
Undocumented in source.
reserve
void reserve(qsizetype asize)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(qsizetype size)
Undocumented in source.
right
QByteArray right(qsizetype len)
Undocumented in source.
rightJustified
QByteArray rightJustified(qsizetype width, char fill, bool truncate)
Undocumented in source.
setNum
QByteArray setNum(short n, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
setNum
QByteArray setNum(ushort n, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
setNum
QByteArray setNum(int n, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
setNum
QByteArray setNum(uint n, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
setNum
QByteArray setNum(cpp_long n, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
setNum
QByteArray setNum(cpp_ulong n, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
setNum
QByteArray setNum(qlonglong , int base)
Undocumented in source.
setNum
QByteArray setNum(qulonglong , int base)
Undocumented in source.
setNum
QByteArray setNum(float n, char format, int precision)
Undocumented in source. Be warned that the author may not have intended to support it.
setNum
QByteArray setNum(double , char format, int precision)
Undocumented in source.
setRawData
QByteArray setRawData(const(char)* a, qsizetype n)
Undocumented in source.
shrink_to_fit
void shrink_to_fit()
Undocumented in source. Be warned that the author may not have intended to support it.
simplified
QByteArray simplified()
Undocumented in source. Be warned that the author may not have intended to support it.
size
qsizetype size()
Undocumented in source. Be warned that the author may not have intended to support it.
sliced
QByteArray sliced(qsizetype pos)
Undocumented in source. Be warned that the author may not have intended to support it.
sliced
QByteArray sliced(qsizetype pos, qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
split
QList!(QByteArray) split(char sep)
Undocumented in source.
squeeze
void squeeze()
Undocumented in source. Be warned that the author may not have intended to support it.
startsWith
bool startsWith(QByteArrayView bv)
Undocumented in source. Be warned that the author may not have intended to support it.
startsWith
bool startsWith(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
toBase64
QByteArray toBase64(Base64Options options)
Undocumented in source.
toConstCharArray
const(char)[] toConstCharArray()
Undocumented in source. Be warned that the author may not have intended to support it.
toConstUByteArray
const(ubyte)[] toConstUByteArray()
Undocumented in source. Be warned that the author may not have intended to support it.
toDouble
double toDouble(bool* ok)
Undocumented in source.
toFloat
float toFloat(bool* ok)
Undocumented in source.
toHex
QByteArray toHex(char separator)
Undocumented in source.
toInt
int toInt(bool* ok, int base)
Undocumented in source.
toLong
cpp_long toLong(bool* ok, int base)
Undocumented in source.
toLongLong
qlonglong toLongLong(bool* ok, int base)
Undocumented in source.
toLower
QByteArray toLower()
Undocumented in source. Be warned that the author may not have intended to support it.
toPercentEncoding
QByteArray toPercentEncoding(const(QByteArray) exclude, const(QByteArray) include, char percent)
Undocumented in source.
toShort
short toShort(bool* ok, int base)
Undocumented in source.
toUInt
uint toUInt(bool* ok, int base)
Undocumented in source.
toULong
cpp_ulong toULong(bool* ok, int base)
Undocumented in source.
toULongLong
qulonglong toULongLong(bool* ok, int base)
Undocumented in source.
toUShort
ushort toUShort(bool* ok, int base)
Undocumented in source.
toUpper
QByteArray toUpper()
Undocumented in source. Be warned that the author may not have intended to support it.
trimmed
QByteArray trimmed()
Undocumented in source. Be warned that the author may not have intended to support it.
truncate
void truncate(qsizetype pos)
Undocumented in source.

Static functions

create
typeof(this) create()
Undocumented in source. Be warned that the author may not have intended to support it.
fromBase64
QByteArray fromBase64(const(QByteArray) base64, Base64Options options)
Undocumented in source.
fromBase64Encoding
FromBase64Result fromBase64Encoding(const(QByteArray) base64, Base64Options options)
Undocumented in source.
fromHex
QByteArray fromHex(const(QByteArray) hexEncoded)
Undocumented in source.
fromPercentEncoding
QByteArray fromPercentEncoding(const(QByteArray) pctEncoded, char percent)
Undocumented in source.
fromRawData
QByteArray fromRawData(const(char)* data, qsizetype size)
Undocumented in source. Be warned that the author may not have intended to support it.
number
QByteArray number(int , int base)
Undocumented in source.
number
QByteArray number(uint , int base)
Undocumented in source.
number
QByteArray number(cpp_long , int base)
Undocumented in source.
number
QByteArray number(cpp_ulong , int base)
Undocumented in source.
number
QByteArray number(qlonglong , int base)
Undocumented in source.
number
QByteArray number(qulonglong , int base)
Undocumented in source.
number
QByteArray number(double , char format, int precision)
Undocumented in source.

Structs

FromBase64Result
struct FromBase64Result

Binding for C++ class FromBase64Result.

Meta