QByteArrayView

Binding for C++ class QByteArrayView.

extern (C++) extern (C++)
@Q_PRIMITIVE_TYPE
struct QByteArrayView {}

Constructors

this
this(typeof(null) )
Undocumented in source.
this
this(const(Byte)* data, qsizetype len)
Undocumented in source.
this
this(const(Byte)* first, const(Byte)* last)
Undocumented in source.
this
this(const(Pointer) data)
Undocumented in source.
this
this(const(ByteArray) ba)
Undocumented in source.

Members

Aliases

const_iterator
alias const_iterator = const_pointer
Undocumented in source.
const_pointer
alias const_pointer = value_type*
Undocumented in source.
difference_type
alias difference_type = qptrdiff
Undocumented in source.
iterator
alias iterator = pointer
Undocumented in source.
pointer
alias pointer = value_type*
Undocumented in source.
size_type
alias size_type = qsizetype
Undocumented in source.
storage_type
alias storage_type = char
Undocumented in source.
value_type
alias value_type = const(char)
Undocumented in source.

Functions

at
char at(qsizetype n)
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.
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. Be warned that the author may not have intended to support it.
chopped
QByteArrayView chopped(qsizetype len)
Undocumented in source. Be warned that the author may not have intended to support it.
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.
constData
const_pointer constData()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(QByteArrayView a)
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.
count
qsizetype count(QByteArrayView a)
Undocumented in source. Be warned that the author may not have intended to support it.
count
qsizetype count(char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
data
const_pointer data()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
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(QByteArrayView other)
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.
first
QByteArrayView first(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
first
char first()
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 a, qsizetype from)
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
qsizetype indexOf(char ch, qsizetype from)
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.
isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
last
QByteArrayView last(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
last
char last()
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(QByteArrayView a)
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(QByteArrayView a, qsizetype from)
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(char ch, qsizetype from)
Undocumented in source. Be warned that the author may not have intended to support it.
length
qsizetype length()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
char opIndex(qsizetype n)
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
QByteArrayView sliced(qsizetype pos)
Undocumented in source. Be warned that the author may not have intended to support it.
sliced
QByteArrayView sliced(qsizetype pos, qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
startsWith
bool startsWith(QByteArrayView other)
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.
toByteArray
QByteArray toByteArray()
Undocumented in source. Be warned that the author may not have intended to support it.
truncate
void truncate(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromArray
QByteArrayView fromArray(const(Byte)[Size] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta