@NoOffset @Properties(inherit=Qt5Core.class) public class QByteArray extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
QByteArray.Base64Option |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
QByteArray() |
QByteArray(BytePointer arg0) |
QByteArray(BytePointer arg0,
int size) |
QByteArray(int size,
byte c) |
QByteArray(int size,
int arg1) |
QByteArray(long size)
Native array allocator.
|
QByteArray(Pointer p)
Pointer cast constructor.
|
QByteArray(QByteArray arg0) |
QByteArray(String arg0) |
QByteArray(String arg0,
int size) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public QByteArray(Pointer p)
Pointer.Pointer(Pointer)
.public QByteArray(long size)
Pointer.position(long)
.public QByteArray()
public QByteArray(@Cast(value="const char*") BytePointer arg0, int size)
public QByteArray(@Cast(value="const char*") BytePointer arg0)
public QByteArray(String arg0, int size)
public QByteArray(String arg0)
public QByteArray(@Const @ByRef QByteArray arg0)
public QByteArray position(long position)
@ByRef @Name(value="operator =") @NoException public QByteArray put(@Const @ByRef QByteArray arg0)
@ByRef @Name(value="operator =") public QByteArray put(@Cast(value="const char*") BytePointer str)
@ByRef @Name(value="operator =") public QByteArray put(String str)
@NoException public void swap(@ByRef QByteArray other)
public int size()
public void resize(int size)
public void reserve(int size)
public void squeeze()
@Const @Name(value="operator const char*") @Cast(value="const char*") public BytePointer asBytePointer()
@Cast(value="char*") public BytePointer data()
@Cast(value="const char*") public BytePointer constData()
public void detach()
@Cast(value="bool") public boolean isSharedWith(@Const @ByRef QByteArray other)
public void clear()
public int indexOf(@Cast(value="const char*") BytePointer c, int from)
public int indexOf(@Cast(value="const char*") BytePointer c)
public int indexOf(String c, int from)
public int indexOf(String c)
public int indexOf(@Const @ByRef QByteArray a, int from)
public int indexOf(@Const @ByRef QByteArray a)
public int lastIndexOf(@Cast(value="const char*") BytePointer c, int from)
public int lastIndexOf(@Cast(value="const char*") BytePointer c)
public int lastIndexOf(String c, int from)
public int lastIndexOf(String c)
public int lastIndexOf(@Const @ByRef QByteArray a, int from)
public int lastIndexOf(@Const @ByRef QByteArray a)
@Cast(value="bool") public boolean contains(@Cast(value="const char*") BytePointer a)
@Cast(value="bool") public boolean contains(@Const @ByRef QByteArray a)
public int count(@Cast(value="const char*") BytePointer a)
public int count(String a)
public int count(@Const @ByRef QByteArray a)
public int compare(@Cast(value="const char*") BytePointer c, Qt5Core.CaseSensitivity cs)
public int compare(@Cast(value="const char*") BytePointer c)
public int compare(String c, Qt5Core.CaseSensitivity cs)
public int compare(String c)
public int compare(@Const @ByRef QByteArray a, Qt5Core.CaseSensitivity cs)
public int compare(@Const @ByRef QByteArray a)
@ByVal public QByteArray left(int len)
@ByVal public QByteArray right(int len)
@ByVal public QByteArray mid(int index, int len)
@ByVal public QByteArray mid(int index)
@ByVal public QByteArray chopped(int len)
@Cast(value="bool") public boolean startsWith(@Const @ByRef QByteArray a)
@Cast(value="bool") public boolean startsWith(@Cast(value="const char*") BytePointer c)
@Cast(value="bool") public boolean endsWith(@Const @ByRef QByteArray a)
@Cast(value="bool") public boolean endsWith(@Cast(value="const char*") BytePointer c)
public void truncate(int pos)
public void chop(int n)
@ByVal public QByteArray toLower()
@ByVal public QByteArray toUpper()
@ByVal public QByteArray trimmed()
@ByVal public QByteArray simplified()
@ByVal public QByteArray leftJustified(int width, @Cast(value="char") byte _fill, @Cast(value="bool") boolean truncate)
@ByVal public QByteArray leftJustified(int width)
@ByVal public QByteArray rightJustified(int width, @Cast(value="char") byte _fill, @Cast(value="bool") boolean truncate)
@ByVal public QByteArray rightJustified(int width)
@ByRef public QByteArray prepend(@Cast(value="char") byte c)
@ByRef public QByteArray prepend(int count, @Cast(value="char") byte c)
@ByRef public QByteArray prepend(@Cast(value="const char*") BytePointer s)
@ByRef public QByteArray prepend(String s)
@ByRef public QByteArray prepend(@Cast(value="const char*") BytePointer s, int len)
@ByRef public QByteArray prepend(String s, int len)
@ByRef public QByteArray prepend(@Const @ByRef QByteArray a)
@ByRef public QByteArray append(@Cast(value="char") byte c)
@ByRef public QByteArray append(int count, @Cast(value="char") byte c)
@ByRef public QByteArray append(@Cast(value="const char*") BytePointer s)
@ByRef public QByteArray append(String s)
@ByRef public QByteArray append(@Cast(value="const char*") BytePointer s, int len)
@ByRef public QByteArray append(String s, int len)
@ByRef public QByteArray append(@Const @ByRef QByteArray a)
@ByRef public QByteArray insert(int i, @Cast(value="char") byte c)
@ByRef public QByteArray insert(int i, int count, @Cast(value="char") byte c)
@ByRef public QByteArray insert(int i, @Cast(value="const char*") BytePointer s)
@ByRef public QByteArray insert(int i, String s)
@ByRef public QByteArray insert(int i, @Cast(value="const char*") BytePointer s, int len)
@ByRef public QByteArray insert(int i, String s, int len)
@ByRef public QByteArray insert(int i, @Const @ByRef QByteArray a)
@ByRef public QByteArray remove(int index, int len)
@ByRef public QByteArray replace(int index, int len, @Cast(value="const char*") BytePointer s)
@ByRef public QByteArray replace(int index, int len, String s)
@ByRef public QByteArray replace(int index, int len, @Cast(value="const char*") BytePointer s, int alen)
@ByRef public QByteArray replace(int index, int len, String s, int alen)
@ByRef public QByteArray replace(int index, int len, @Const @ByRef QByteArray s)
@ByRef public QByteArray replace(@Cast(value="char") byte before, @Cast(value="const char*") BytePointer after)
@ByRef public QByteArray replace(@Cast(value="char") byte before, String after)
@ByRef public QByteArray replace(@Cast(value="char") byte before, @Const @ByRef QByteArray after)
@ByRef public QByteArray replace(@Cast(value="const char*") BytePointer before, @Cast(value="const char*") BytePointer after)
@ByRef public QByteArray replace(String before, String after)
@ByRef public QByteArray replace(@Cast(value="const char*") BytePointer before, int bsize, @Cast(value="const char*") BytePointer after, int asize)
@ByRef public QByteArray replace(String before, int bsize, String after, int asize)
@ByRef public QByteArray replace(@Const @ByRef QByteArray before, @Const @ByRef QByteArray after)
@ByRef public QByteArray replace(@Const @ByRef QByteArray before, @Cast(value="const char*") BytePointer after)
@ByRef public QByteArray replace(@Const @ByRef QByteArray before, String after)
@ByRef public QByteArray replace(@Cast(value="const char*") BytePointer before, @Const @ByRef QByteArray after)
@ByRef public QByteArray replace(String before, @Const @ByRef QByteArray after)
@ByRef public QByteArray replace(@Cast(value="char") byte before, @Cast(value="char") byte after)
@ByRef @Name(value="operator +=") public QByteArray addPut(@Cast(value="const char*") BytePointer s)
@ByRef @Name(value="operator +=") public QByteArray addPut(String s)
@ByRef @Name(value="operator +=") public QByteArray addPut(@Const @ByRef QByteArray a)
@ByVal public QByteArray repeated(int times)
@Deprecated @ByRef public QByteArray append(@Const @ByRef QString s)
@Deprecated @ByRef public QByteArray insert(int i, @Const @ByRef QString s)
@Deprecated @ByRef public QByteArray replace(@Const @ByRef QString before, @Cast(value="const char*") BytePointer after)
@Deprecated @ByRef public QByteArray replace(@Const @ByRef QString before, String after)
@Deprecated @ByRef public QByteArray replace(@Cast(value="char") byte c, @Const @ByRef QString after)
@Deprecated @ByRef public QByteArray replace(@Const @ByRef QString before, @Const @ByRef QByteArray after)
@Deprecated @ByRef @Name(value="operator +=") public QByteArray addPut(@Const @ByRef QString s)
@Deprecated public int indexOf(@Const @ByRef QString s, int from)
@Deprecated public int indexOf(@Const @ByRef QString s)
@Deprecated public int lastIndexOf(@Const @ByRef QString s, int from)
@Deprecated public int lastIndexOf(@Const @ByRef QString s)
public short toShort(@Cast(value="bool*") BoolPointer ok, int base)
public short toShort()
@Cast(value="unsigned short") public short toUShort(@Cast(value="bool*") BoolPointer ok, int base)
@Cast(value="unsigned short") public short toUShort(@Cast(value="bool*") boolean[] ok, int base)
public int toInt(@Cast(value="bool*") BoolPointer ok, int base)
public int toInt()
@Cast(value="unsigned int") public int toUInt(@Cast(value="bool*") BoolPointer ok, int base)
public long toLong(@Cast(value="bool*") BoolPointer ok, int base)
public long toLong()
@Cast(value="unsigned long") public long toULong(@Cast(value="bool*") BoolPointer ok, int base)
@Cast(value="unsigned long") public long toULong(@Cast(value="bool*") boolean[] ok, int base)
public long toLongLong(@Cast(value="bool*") BoolPointer ok, int base)
public long toLongLong()
@Cast(value="unsigned long long") public long toULongLong(@Cast(value="bool*") BoolPointer ok, int base)
@Cast(value="unsigned long long") public long toULongLong(@Cast(value="bool*") boolean[] ok, int base)
public float toFloat(@Cast(value="bool*") BoolPointer ok)
public float toFloat()
public double toDouble(@Cast(value="bool*") BoolPointer ok)
public double toDouble()
@ByVal public QByteArray toBase64()
@ByVal public QByteArray toHex()
@ByVal public QByteArray toHex(@Cast(value="char") byte separator)
@ByVal public QByteArray toPercentEncoding(@Const @ByRef(nullValue="QByteArray()") QByteArray exclude, @Const @ByRef(nullValue="QByteArray()") QByteArray include, @Cast(value="char") byte percent)
@ByVal public QByteArray toPercentEncoding()
@ByRef public QByteArray setNum(short arg0, int base)
@ByRef public QByteArray setNum(short arg0)
@ByRef public QByteArray setNum(int arg0, int base)
@ByRef public QByteArray setNum(int arg0)
@ByRef public QByteArray setNum(long arg0, int base)
@ByRef public QByteArray setNum(long arg0)
@ByRef public QByteArray setNum(float arg0, @Cast(value="char") byte f, int prec)
@ByRef public QByteArray setNum(float arg0)
@ByRef public QByteArray setNum(double arg0, @Cast(value="char") byte f, int prec)
@ByRef public QByteArray setNum(double arg0)
@ByRef public QByteArray setRawData(@Cast(value="const char*") BytePointer a, @Cast(value="unsigned int") int n)
@ByRef public QByteArray setRawData(String a, @Cast(value="unsigned int") int n)
@ByVal public static QByteArray number(int arg0, int base)
@ByVal public static QByteArray number(int arg0)
@ByVal public static QByteArray number(long arg0, int base)
@ByVal public static QByteArray number(long arg0)
@ByVal public static QByteArray number(double arg0, @Cast(value="char") byte f, int prec)
@ByVal public static QByteArray number(double arg0)
@ByVal public static QByteArray fromRawData(@Cast(value="const char*") BytePointer arg0, int size)
@ByVal public static QByteArray fromRawData(String arg0, int size)
@ByVal public static QByteArray fromBase64(@Const @ByRef QByteArray base64)
@ByVal public static QByteArray fromHex(@Const @ByRef QByteArray hexEncoded)
@ByVal public static QByteArray fromPercentEncoding(@Const @ByRef QByteArray pctEncoded, @Cast(value="char") byte percent)
@ByVal public static QByteArray fromPercentEncoding(@Const @ByRef QByteArray pctEncoded)
public void push_back(@Cast(value="const char*") BytePointer c)
public void push_back(String c)
public void push_back(@Const @ByRef QByteArray a)
public void push_front(@Cast(value="const char*") BytePointer c)
public void push_front(String c)
public void push_front(@Const @ByRef QByteArray a)
public void shrink_to_fit()
@ByVal public static QByteArray fromStdString(@StdString BytePointer s)
@ByVal public static QByteArray fromStdString(@StdString String s)
@StdString public BytePointer toStdString()
public int count()
public int length()
@Cast(value="QByteArray::DataPtr*") @ByRef public PointerPointer data_ptr()
Copyright © 2020. All rights reserved.