io.qt.core.QByteArray Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Array of bytes
* Java wrapper for Qt class QByteArray
*/
public class QByteArray extends QtObject
implements java.lang.Comparable<@StrictNonNull Object>,
java.lang.Iterable,
java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Java wrapper for Qt enum QByteArray::Base64DecodingStatus
*/
public enum Base64DecodingStatus implements QtEnumerator {
/**
* Representing QByteArray:: Base64DecodingStatus:: Ok
*/
Ok(0),
/**
* Representing QByteArray:: Base64DecodingStatus:: IllegalInputLength
*/
IllegalInputLength(1),
/**
* Representing QByteArray:: Base64DecodingStatus:: IllegalCharacter
*/
IllegalCharacter(2),
/**
* Representing QByteArray:: Base64DecodingStatus:: IllegalPadding
*/
IllegalPadding(3);
static {
QtJambi_LibraryUtilities.initialize();
}
private Base64DecodingStatus(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Base64DecodingStatus resolve(int value) {
switch (value) {
case 0: return Ok;
case 1: return IllegalInputLength;
case 2: return IllegalCharacter;
case 3: return IllegalPadding;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QByteArray::Base64Option
*
* @see Base64Options
*/
@QtRejectedEntries({"KeepTrailingEquals", "IgnoreBase64DecodingErrors"})
public enum Base64Option implements QtFlagEnumerator {
/**
* Representing QByteArray:: Base64Encoding
*/
Base64Encoding(0),
/**
* Representing QByteArray:: Base64UrlEncoding
*/
Base64UrlEncoding(1),
/**
* Representing QByteArray:: KeepTrailingEquals
*/
KeepTrailingEquals(0),
/**
* Representing QByteArray:: OmitTrailingEquals
*/
OmitTrailingEquals(2),
/**
* Representing QByteArray:: IgnoreBase64DecodingErrors
*/
IgnoreBase64DecodingErrors(0),
/**
* Representing QByteArray:: AbortOnBase64DecodingErrors
*/
AbortOnBase64DecodingErrors(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private Base64Option(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull Base64Options asFlags() {
return new Base64Options(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull Base64Options combined(@NonNull Base64Option e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull Base64Options cleared(@NonNull Base64Option e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link Base64Options} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull Base64Options flags(@Nullable Base64Option @NonNull... values) {
return new Base64Options(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Base64Option resolve(int value) {
switch (value) {
case 0: return Base64Encoding;
case 1: return Base64UrlEncoding;
case 2: return OmitTrailingEquals;
case 4: return AbortOnBase64DecodingErrors;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link Base64Option}
*/
public static final class Base64Options extends QFlags implements Comparable {
private static final long serialVersionUID = 0xc576784bf17a958cL;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new Base64Options where the flags in args
are set.
* @param args enum entries
*/
public Base64Options(@Nullable Base64Option @NonNull... args){
super(args);
}
/**
* Creates a new Base64Options with given value
.
* @param value
*/
public Base64Options(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new Base64Options
*/
@Override
public final @NonNull Base64Options combined(@StrictNonNull Base64Option e){
return new Base64Options(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull Base64Options setFlag(@Nullable Base64Option e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final @NonNull Base64Options setFlag(@Nullable Base64Option e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this Base64Options.
* @return array of enum entries
*/
@Override
public final @NonNull Base64Option @NonNull[] flags(){
return super.flags(Base64Option.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull Base64Options clone(){
return new Base64Options(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull Base64Options other){
return Integer.compare(value(), other.value());
}
}
/**
* QByteArray::FromBase64Result class holds the result of a call to QByteArray::fromBase64Encoding
* Java wrapper for Qt class QByteArray::FromBase64Result
*/
public static class FromBase64Result extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QByteArray::FromBase64Result:: FromBase64Result()
*/
public FromBase64Result(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(FromBase64Result instance);
/**
* See QByteArray::FromBase64Result:: FromBase64Result(QByteArray::FromBase64Result)
*/
public FromBase64Result(io.qt.core.QByteArray.@NonNull FromBase64Result other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(FromBase64Result instance, io.qt.core.QByteArray.FromBase64Result other);
/**
* See QByteArray::FromBase64Result:: FromBase64Result{QByteArray, QByteArray::Base64DecodingStatus}
*/
public FromBase64Result(io.qt.core.@NonNull QByteArray decoded, io.qt.core.QByteArray.@NonNull Base64DecodingStatus decodingStatus){
super((QPrivateConstructor)null);
initialize_native(this, decoded, decodingStatus);
}
private native static void initialize_native(FromBase64Result instance, io.qt.core.QByteArray decoded, io.qt.core.QByteArray.Base64DecodingStatus decodingStatus);
/**
* See QByteArray::FromBase64Result:: operator bool()const
*/
@QtUninvokable
public final boolean isOk(){
return isOk_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isOk_native_constfct(long __this__nativeId);
/**
* See operator==(QByteArray::FromBase64Result, QByteArray::FromBase64Result)
*/
@QtUninvokable
public final boolean equals(io.qt.core.QByteArray.@NonNull FromBase64Result rhs){
return equals_native_cref_QByteArray_FromBase64Result(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QByteArray_FromBase64Result(long __this__nativeId, long rhs);
/**
* See QByteArray::FromBase64Result:: swap(QByteArray::FromBase64Result&)
*/
@QtUninvokable
public final void swap(io.qt.core.QByteArray.@StrictNonNull FromBase64Result other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QByteArray_FromBase64Result(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QByteArray_FromBase64Result(long __this__nativeId, long other);
/**
* See QByteArray::FromBase64Result:: decoded
*/
@QtUninvokable
public final void setDecoded(io.qt.core.@NonNull QByteArray decoded){
setDecoded_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(decoded));
}
@QtUninvokable
private native void setDecoded_native_cref_QByteArray(long __this__nativeId, long decoded);
/**
* See QByteArray::FromBase64Result:: decoded
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray decoded(){
return decoded_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray decoded_native(long __this__nativeId);
/**
* See QByteArray::FromBase64Result:: decodingStatus
*/
@QtUninvokable
public final void setDecodingStatus(io.qt.core.QByteArray.@NonNull Base64DecodingStatus decodingStatus){
setDecodingStatus_native_cref_QByteArray_Base64DecodingStatus(QtJambi_LibraryUtilities.internal.nativeId(this), decodingStatus.value());
}
@QtUninvokable
private native void setDecodingStatus_native_cref_QByteArray_Base64DecodingStatus(long __this__nativeId, int decodingStatus);
/**
* See QByteArray::FromBase64Result:: decodingStatus
*/
@QtUninvokable
public final io.qt.core.QByteArray.@NonNull Base64DecodingStatus decodingStatus(){
return io.qt.core.QByteArray.Base64DecodingStatus.resolve(decodingStatus_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int decodingStatus_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected FromBase64Result(QPrivateConstructor p) { super(p); }
/**
* See operator==(QByteArray::FromBase64Result, QByteArray::FromBase64Result)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QByteArray.FromBase64Result) {
return equals((io.qt.core.QByteArray.FromBase64Result) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QByteArray::FromBase64Result)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QByteArray::FromBase64Result:: FromBase64Result(QByteArray::FromBase64Result)
*/
@QtUninvokable
@Override
public FromBase64Result clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native FromBase64Result clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #FromBase64Result(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64DecodingStatus)}.
*/
public FromBase64Result(byte @NonNull[] decoded, io.qt.core.QByteArray.@NonNull Base64DecodingStatus decodingStatus) {
this(new io.qt.core.QByteArray(decoded), decodingStatus);
}
/**
* Overloaded function for {@link #setDecoded(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void setDecoded(byte @NonNull[] decoded) {
setDecoded(new io.qt.core.QByteArray(decoded));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #decoded()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray getDecoded() {
return decoded();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #decodingStatus()} instead.
*/
@QtUninvokable
public final io.qt.core.QByteArray.@NonNull Base64DecodingStatus getDecodingStatus() {
return decodingStatus();
}
}
/**
*
*/
public QByteArray(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QByteArray instance);
/**
* See QByteArray:: QByteArray(QByteArray)
*/
public QByteArray(io.qt.core.@NonNull QByteArray arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QByteArray instance, io.qt.core.QByteArray arg__1);
/**
* See QByteArray:: QByteArray(const char*, qsizetype)
*/
public QByteArray(java.nio.@Nullable ByteBuffer arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QByteArray instance, java.nio.ByteBuffer arg__1);
/**
* See QByteArray:: QByteArray(qsizetype, char)
*/
public QByteArray(long size, byte c){
super((QPrivateConstructor)null);
initialize_native(this, size, c);
}
private native static void initialize_native(QByteArray instance, long size, byte c);
/**
* See QByteArray:: append(QByteArray)
*/
@QtUninvokable
public final @NonNull QByteArray append(io.qt.core.@NonNull QByteArray a){
return append_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a));
}
@QtUninvokable
private native QByteArray append_native_cref_QByteArray(long __this__nativeId, long a);
/**
* See QByteArray:: append(QByteArrayView)
*/
@QtUninvokable
public final @NonNull QByteArray append(io.qt.core.@NonNull QByteArrayView a){
return append_native_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a));
}
@QtUninvokable
private native QByteArray append_native_QByteArrayView(long __this__nativeId, long a);
/**
*
*/
@QtUninvokable
public final @NonNull QByteArray append(byte c){
return append_native_char(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native QByteArray append_native_char(long __this__nativeId, byte c);
/**
* See QByteArray:: append(const char*, qsizetype)
*/
@QtUninvokable
public final @NonNull QByteArray append(java.nio.@Nullable ByteBuffer s){
return append_native_const_char_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@QtUninvokable
private native QByteArray append_native_const_char_ptr_qsizetype(long __this__nativeId, java.nio.ByteBuffer s);
/**
* See QByteArray:: append(qsizetype, char)
*/
@QtUninvokable
public final @NonNull QByteArray append(long count, byte c){
return append_native_qsizetype_char(QtJambi_LibraryUtilities.internal.nativeId(this), count, c);
}
@QtUninvokable
private native QByteArray append_native_qsizetype_char(long __this__nativeId, long count, byte c);
/**
* See QByteArray:: assign(QByteArrayView)
*/
@QtUninvokable
public final @NonNull QByteArray assign(io.qt.core.@NonNull QByteArrayView v){
return assign_native_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v));
}
@QtUninvokable
private native QByteArray assign_native_QByteArrayView(long __this__nativeId, long v);
/**
* See QByteArray:: assign(qsizetype, char)
*/
@QtUninvokable
public final @NonNull QByteArray assign(long n, byte c){
return assign_native_qsizetype_char(QtJambi_LibraryUtilities.internal.nativeId(this), n, c);
}
@QtUninvokable
private native QByteArray assign_native_qsizetype_char(long __this__nativeId, long n, byte c);
/**
* See QByteArray:: at(qsizetype)const
*/
@QtUninvokable
public final byte at(long i){
return at_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native byte at_native_qsizetype_constfct(long __this__nativeId, long i);
/**
*
*/
@QtUninvokable
public final byte back(){
return back_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native byte back_native_constfct(long __this__nativeId);
/**
* See QByteArray:: capacity()const
*/
@QtUninvokable
public final long capacity(){
return capacity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long capacity_native_constfct(long __this__nativeId);
/**
* See QByteArray:: chop(qsizetype)
*/
@QtUninvokable
public final void chop(long n){
chop_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native void chop_native_qsizetype(long __this__nativeId, long n);
/**
* See QByteArray:: chopped(qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray chopped(long len){
return chopped_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), len);
}
@QtUninvokable
private native io.qt.core.QByteArray chopped_native_qsizetype_constfct(long __this__nativeId, long len);
/**
*
*/
@QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QByteArray:: compare(QByteArrayView, Qt::CaseSensitivity)const
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QByteArrayView a, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return compare_native_QByteArrayView_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a), cs.value());
}
@QtUninvokable
private native int compare_native_QByteArrayView_Qt_CaseSensitivity_constfct(long __this__nativeId, long a, int cs);
/**
* See QByteArray:: constBegin()const
*/
@QtUninvokable
protected final io.qt.core.@NonNull QSequentialConstIterator constBegin(){
return constBegin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSequentialConstIterator constBegin_native_constfct(long __this__nativeId);
/**
* See QByteArray:: constData()const
*/
@QtUninvokable
public final byte @StrictNonNull[] toArray(){
return toArray_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native byte[] toArray_native_constfct(long __this__nativeId);
/**
* See QByteArray:: constEnd()const
*/
@QtUninvokable
protected final io.qt.core.@NonNull QSequentialConstIterator constEnd(){
return constEnd_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSequentialConstIterator constEnd_native_constfct(long __this__nativeId);
/**
* See QByteArray:: contains(QByteArrayView)const
*/
@QtUninvokable
public final boolean contains(io.qt.core.@NonNull QByteArrayView bv){
return contains_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bv));
}
@QtUninvokable
private native boolean contains_native_QByteArrayView_constfct(long __this__nativeId, long bv);
/**
* See QByteArray:: contains(char)const
*/
@QtUninvokable
public final boolean contains(byte c){
return contains_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native boolean contains_native_char_constfct(long __this__nativeId, byte c);
/**
* See QByteArray:: count(QByteArrayView)const
*/
@QtUninvokable
public final long count(io.qt.core.@NonNull QByteArrayView bv){
return count_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bv));
}
@QtUninvokable
private native long count_native_QByteArrayView_constfct(long __this__nativeId, long bv);
/**
* See QByteArray:: count(char)const
*/
@QtUninvokable
public final long count(byte c){
return count_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native long count_native_char_constfct(long __this__nativeId, byte c);
/**
*
*/
@QtUninvokable
public final java.nio.@Nullable ByteBuffer data(){
return data_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.nio.ByteBuffer data_native_constfct(long __this__nativeId);
/**
* See QByteArray:: detach()
*/
@QtUninvokable
public final void detach(){
detach_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void detach_native(long __this__nativeId);
/**
* See QByteArray:: endsWith(QByteArrayView)const
*/
@QtUninvokable
public final boolean endsWith(io.qt.core.@NonNull QByteArrayView bv){
return endsWith_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bv));
}
@QtUninvokable
private native boolean endsWith_native_QByteArrayView_constfct(long __this__nativeId, long bv);
/**
* See QByteArray:: endsWith(char)const
*/
@QtUninvokable
public final boolean endsWith(byte c){
return endsWith_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native boolean endsWith_native_char_constfct(long __this__nativeId, byte c);
/**
* See QByteArray:: fill(char, qsizetype)
*/
@QtUninvokable
public final @NonNull QByteArray fill(byte c, long size){
return fill_native_char_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), c, size);
}
@QtUninvokable
private native QByteArray fill_native_char_qsizetype(long __this__nativeId, byte c, long size);
/**
* See QByteArray:: first(qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray first(long n){
return first_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QByteArray first_native_qsizetype_constfct(long __this__nativeId, long n);
/**
*
*/
@QtUninvokable
public final byte front(){
return front_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native byte front_native_constfct(long __this__nativeId);
/**
* See QByteArray:: indexOf(QByteArrayView, qsizetype)const
*/
@QtUninvokable
public final long indexOf(io.qt.core.@NonNull QByteArrayView bv, long from){
return indexOf_native_QByteArrayView_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bv), from);
}
@QtUninvokable
private native long indexOf_native_QByteArrayView_qsizetype_constfct(long __this__nativeId, long bv, long from);
/**
* See QByteArray:: indexOf(char, qsizetype)const
*/
@QtUninvokable
public final long indexOf(byte c, long from){
return indexOf_native_char_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, from);
}
@QtUninvokable
private native long indexOf_native_char_qsizetype_constfct(long __this__nativeId, byte c, long from);
/**
* See QByteArray:: insert(qsizetype, QByteArray)
*/
@QtUninvokable
public final @NonNull QByteArray insert(long i, io.qt.core.@NonNull QByteArray data){
return insert_native_qsizetype_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), i, QtJambi_LibraryUtilities.internal.checkedNativeId(data));
}
@QtUninvokable
private native QByteArray insert_native_qsizetype_cref_QByteArray(long __this__nativeId, long i, long data);
/**
* See QByteArray:: insert(qsizetype, QByteArrayView)
*/
@QtUninvokable
public final @NonNull QByteArray insert(long i, io.qt.core.@NonNull QByteArrayView data){
return insert_native_qsizetype_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), i, QtJambi_LibraryUtilities.internal.checkedNativeId(data));
}
@QtUninvokable
private native QByteArray insert_native_qsizetype_QByteArrayView(long __this__nativeId, long i, long data);
/**
* See QByteArray:: insert(qsizetype, char)
*/
@QtUninvokable
public final @NonNull QByteArray insert(long i, byte c){
return insert_native_qsizetype_char(QtJambi_LibraryUtilities.internal.nativeId(this), i, c);
}
@QtUninvokable
private native QByteArray insert_native_qsizetype_char(long __this__nativeId, long i, byte c);
/**
* See QByteArray:: insert(qsizetype, const char*)
*/
@QtUninvokable
public final @NonNull QByteArray insert(long i, java.lang.@Nullable String s){
return insert_native_qsizetype_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), i, s);
}
@QtUninvokable
private native QByteArray insert_native_qsizetype_const_char_ptr(long __this__nativeId, long i, java.lang.String s);
/**
* See QByteArray:: insert(qsizetype, const char*, qsizetype)
*/
@QtUninvokable
public final @NonNull QByteArray insert(long i, java.nio.@Nullable ByteBuffer s){
return insert_native_qsizetype_const_char_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), i, s);
}
@QtUninvokable
private native QByteArray insert_native_qsizetype_const_char_ptr_qsizetype(long __this__nativeId, long i, java.nio.ByteBuffer s);
/**
* See QByteArray:: insert(qsizetype, qsizetype, char)
*/
@QtUninvokable
public final @NonNull QByteArray insert(long i, long count, byte c){
return insert_native_qsizetype_qsizetype_char(QtJambi_LibraryUtilities.internal.nativeId(this), i, count, c);
}
@QtUninvokable
private native QByteArray insert_native_qsizetype_qsizetype_char(long __this__nativeId, long i, long count, byte c);
/**
* See QByteArray:: isDetached()const
*/
@QtUninvokable
public final boolean isDetached(){
return isDetached_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDetached_native_constfct(long __this__nativeId);
/**
* See QByteArray:: isEmpty()const
*/
@QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See QByteArray:: isLower()const
*/
@QtUninvokable
public final boolean isLower(){
return isLower_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isLower_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
* See QByteArray:: isSharedWith(QByteArray)const
*/
@QtUninvokable
public final boolean isSharedWith(io.qt.core.@NonNull QByteArray other){
return isSharedWith_native_cref_QByteArray_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean isSharedWith_native_cref_QByteArray_constfct(long __this__nativeId, long other);
/**
* See QByteArray:: isUpper()const
*/
@QtUninvokable
public final boolean isUpper(){
return isUpper_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isUpper_native_constfct(long __this__nativeId);
/**
* See QByteArray:: isValidUtf8()const
*/
@QtUninvokable
public final boolean isValidUtf8(){
return isValidUtf8_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValidUtf8_native_constfct(long __this__nativeId);
/**
* See QByteArray:: last(qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray last(long n){
return last_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QByteArray last_native_qsizetype_constfct(long __this__nativeId, long n);
/**
* See QByteArray:: lastIndexOf(QByteArrayView)const
*/
@QtUninvokable
public final long lastIndexOf(io.qt.core.@NonNull QByteArrayView bv){
return lastIndexOf_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bv));
}
@QtUninvokable
private native long lastIndexOf_native_QByteArrayView_constfct(long __this__nativeId, long bv);
/**
* See QByteArray:: lastIndexOf(QByteArrayView, qsizetype)const
*/
@QtUninvokable
public final long lastIndexOf(io.qt.core.@NonNull QByteArrayView bv, long from){
return lastIndexOf_native_QByteArrayView_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bv), from);
}
@QtUninvokable
private native long lastIndexOf_native_QByteArrayView_qsizetype_constfct(long __this__nativeId, long bv, long from);
/**
* See QByteArray:: lastIndexOf(char, qsizetype)const
*/
@QtUninvokable
public final long lastIndexOf(byte c, long from){
return lastIndexOf_native_char_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, from);
}
@QtUninvokable
private native long lastIndexOf_native_char_qsizetype_constfct(long __this__nativeId, byte c, long from);
/**
* See QByteArray:: left(qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray left(long n){
return left_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QByteArray left_native_qsizetype_constfct(long __this__nativeId, long n);
/**
* See QByteArray:: leftJustified(qsizetype, char, bool)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray leftJustified(long width, byte fill, boolean truncate){
return leftJustified_native_qsizetype_char_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), width, fill, truncate);
}
@QtUninvokable
private native io.qt.core.QByteArray leftJustified_native_qsizetype_char_bool_constfct(long __this__nativeId, long width, byte fill, boolean truncate);
/**
*
*/
@QtUninvokable
public final long length(){
return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long length_native_constfct(long __this__nativeId);
/**
* See QByteArray:: mid(qsizetype, qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray mid(long index, long len){
return mid_native_qsizetype_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index, len);
}
@QtUninvokable
private native io.qt.core.QByteArray mid_native_qsizetype_qsizetype_constfct(long __this__nativeId, long index, long len);
/**
* See operator+(QByteArray, QByteArray)
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray plus(io.qt.core.@NonNull QByteArray a2){
return plus_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a2));
}
@QtUninvokable
private native io.qt.core.QByteArray plus_native_cref_QByteArray(long __this__nativeId, long a2);
/**
* See operator+(QByteArray, char)
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray plus(byte a2){
return plus_native_char(QtJambi_LibraryUtilities.internal.nativeId(this), a2);
}
@QtUninvokable
private native io.qt.core.QByteArray plus_native_char(long __this__nativeId, byte a2);
/**
* See operator+(QByteArray, const char*)
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray plus(java.lang.@Nullable String a2){
return plus_native_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), a2);
}
@QtUninvokable
private native io.qt.core.QByteArray plus_native_const_char_ptr(long __this__nativeId, java.lang.String a2);
/**
* See operator<(QByteArray, QByteArray)
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QByteArray a2){
return operator_less_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a2));
}
@QtUninvokable
private native boolean operator_less_native_cref_QByteArray(long __this__nativeId, long a2);
/**
* See QByteArray:: operator<(QString)const
*/
@QtUninvokable
private final boolean operator_less(java.lang.@NonNull String s2){
return operator_less_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s2);
}
@QtUninvokable
private native boolean operator_less_native_cref_QString_constfct(long __this__nativeId, java.lang.String s2);
/**
* See operator<(QByteArray, const char*)
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@StrictNonNull QByteArrayView a2){
java.util.Objects.requireNonNull(a2, "Argument 'a2': null not expected.");
return operator_less_native_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), a2);
}
@QtUninvokable
private native boolean operator_less_native_const_char_ptr(long __this__nativeId, io.qt.core.QByteArrayView a2);
/**
* See operator<(QByteArray, std::nullptr_t)
*/
@QtUninvokable
private final boolean operator_less(java.lang.Void arg__2){
return operator_less_native_std_nullptr_t(QtJambi_LibraryUtilities.internal.nativeId(this), arg__2);
}
@QtUninvokable
private native boolean operator_less_native_std_nullptr_t(long __this__nativeId, java.lang.Void arg__2);
/**
* See operator<<(QDataStream&, QByteArray)
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QDataStream out){
java.util.Objects.requireNonNull(out, "Argument 'out': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(out));
}
@QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long out);
/**
* See QByteArray:: operator=(QByteArray)
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QByteArray arg__1){
assign_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QByteArray(long __this__nativeId, long arg__1);
/**
* See operator==(QByteArray, QByteArray)
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QByteArray a2){
return equals_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a2));
}
@QtUninvokable
private native boolean equals_native_cref_QByteArray(long __this__nativeId, long a2);
/**
* See QByteArray:: operator==(QString)const
*/
@QtUninvokable
public final boolean equals(java.lang.@NonNull String s2){
return equals_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s2);
}
@QtUninvokable
private native boolean equals_native_cref_QString_constfct(long __this__nativeId, java.lang.String s2);
/**
* See operator==(QByteArray, const char*)
*/
@QtUninvokable
public final boolean equals(io.qt.core.@StrictNonNull QByteArrayView a2){
java.util.Objects.requireNonNull(a2, "Argument 'a2': null not expected.");
return equals_native_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), a2);
}
@QtUninvokable
private native boolean equals_native_const_char_ptr(long __this__nativeId, io.qt.core.QByteArrayView a2);
/**
* See operator==(QByteArray, std::nullptr_t)
*/
@QtUninvokable
private final boolean equals(java.lang.Void arg__2){
return equals_native_std_nullptr_t(QtJambi_LibraryUtilities.internal.nativeId(this), arg__2);
}
@QtUninvokable
private native boolean equals_native_std_nullptr_t(long __this__nativeId, java.lang.Void arg__2);
/**
* See operator>>(QDataStream&, QByteArray&)
*/
@QtUninvokable
public void readFrom(io.qt.core.@StrictNonNull QDataStream in){
java.util.Objects.requireNonNull(in, "Argument 'in': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(in));
}
@QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long in);
/**
* See QByteArray:: operator[](qsizetype)const
*/
@QtUninvokable
public final byte get(long i){
if(i<0 || i>size())
throw new IndexOutOfBoundsException(""+i);
return get_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native byte get_native_qsizetype_constfct(long __this__nativeId, long i);
/**
* See QByteArray:: operator[](qsizetype)
*/
@QtUninvokable
public final void set(long i, byte value){
if(i<0 || i>size())
throw new IndexOutOfBoundsException(""+i);
set_native_qsizetype_char(QtJambi_LibraryUtilities.internal.nativeId(this), i, value);
}
@QtUninvokable
private native void set_native_qsizetype_char(long __this__nativeId, long i, byte value);
/**
* See QByteArray:: percentDecoded(char)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray percentDecoded(byte percent){
return percentDecoded_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), percent);
}
@QtUninvokable
private native io.qt.core.QByteArray percentDecoded_native_char_constfct(long __this__nativeId, byte percent);
/**
* See QByteArray:: prepend(QByteArray)
*/
@QtUninvokable
public final @NonNull QByteArray prepend(io.qt.core.@NonNull QByteArray a){
return prepend_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a));
}
@QtUninvokable
private native QByteArray prepend_native_cref_QByteArray(long __this__nativeId, long a);
/**
* See QByteArray:: prepend(QByteArrayView)
*/
@QtUninvokable
public final @NonNull QByteArray prepend(io.qt.core.@NonNull QByteArrayView a){
return prepend_native_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a));
}
@QtUninvokable
private native QByteArray prepend_native_QByteArrayView(long __this__nativeId, long a);
/**
*
*/
@QtUninvokable
public final @NonNull QByteArray prepend(byte c){
return prepend_native_char(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native QByteArray prepend_native_char(long __this__nativeId, byte c);
/**
* See QByteArray:: prepend(const char*, qsizetype)
*/
@QtUninvokable
public final @NonNull QByteArray prepend(java.nio.@Nullable ByteBuffer s){
return prepend_native_const_char_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@QtUninvokable
private native QByteArray prepend_native_const_char_ptr_qsizetype(long __this__nativeId, java.nio.ByteBuffer s);
/**
* See QByteArray:: prepend(qsizetype, char)
*/
@QtUninvokable
public final @NonNull QByteArray prepend(long count, byte c){
return prepend_native_qsizetype_char(QtJambi_LibraryUtilities.internal.nativeId(this), count, c);
}
@QtUninvokable
private native QByteArray prepend_native_qsizetype_char(long __this__nativeId, long count, byte c);
/**
* See QByteArray:: push_back(QByteArrayView)
*/
@QtUninvokable
public final void push_back(io.qt.core.@NonNull QByteArrayView a){
push_back_native_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a));
}
@QtUninvokable
private native void push_back_native_QByteArrayView(long __this__nativeId, long a);
/**
* See QByteArray:: push_front(QByteArrayView)
*/
@QtUninvokable
public final void push_front(io.qt.core.@NonNull QByteArrayView a){
push_front_native_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a));
}
@QtUninvokable
private native void push_front_native_QByteArrayView(long __this__nativeId, long a);
/**
* See QByteArray:: remove(qsizetype, qsizetype)
*/
@QtUninvokable
public final @NonNull QByteArray remove(long index, long len){
return remove_native_qsizetype_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), index, len);
}
@QtUninvokable
private native QByteArray remove_native_qsizetype_qsizetype(long __this__nativeId, long index, long len);
/**
* See QByteArray:: removeAt(qsizetype)
*/
@QtUninvokable
public final @NonNull QByteArray removeAt(long pos){
return removeAt_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@QtUninvokable
private native QByteArray removeAt_native_qsizetype(long __this__nativeId, long pos);
/**
*
*/
@QtUninvokable
public final @NonNull QByteArray removeFirst(){
return removeFirst_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native QByteArray removeFirst_native(long __this__nativeId);
/**
* See QByteArray:: removeIf<Predicate>(Predicate)
*/
@QtUninvokable
public final @NonNull QByteArray removeIf(io.qt.core.QByteArray.@StrictNonNull Predicate pred){
java.util.Objects.requireNonNull(pred, "Argument 'pred': null not expected.");
return removeIf_native_QByteArray_Predicate(QtJambi_LibraryUtilities.internal.nativeId(this), pred);
}
@QtUninvokable
private native QByteArray removeIf_native_QByteArray_Predicate(long __this__nativeId, io.qt.core.QByteArray.Predicate pred);
/**
*
*/
@QtUninvokable
public final @NonNull QByteArray removeLast(){
return removeLast_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native QByteArray removeLast_native(long __this__nativeId);
/**
* See QByteArray:: repeated(qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray repeated(long times){
return repeated_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), times);
}
@QtUninvokable
private native io.qt.core.QByteArray repeated_native_qsizetype_constfct(long __this__nativeId, long times);
/**
* See QByteArray:: replace(QByteArrayView, QByteArrayView)
*/
@QtUninvokable
public final @NonNull QByteArray replace(io.qt.core.@NonNull QByteArrayView before, io.qt.core.@NonNull QByteArrayView after){
return replace_native_QByteArrayView_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(before), QtJambi_LibraryUtilities.internal.checkedNativeId(after));
}
@QtUninvokable
private native QByteArray replace_native_QByteArrayView_QByteArrayView(long __this__nativeId, long before, long after);
/**
* See QByteArray:: replace(char, QByteArrayView)
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte before, io.qt.core.@NonNull QByteArrayView after){
return replace_native_char_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), before, QtJambi_LibraryUtilities.internal.checkedNativeId(after));
}
@QtUninvokable
private native QByteArray replace_native_char_QByteArrayView(long __this__nativeId, byte before, long after);
/**
* See QByteArray:: replace(char, char)
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte before, byte after){
return replace_native_char_char(QtJambi_LibraryUtilities.internal.nativeId(this), before, after);
}
@QtUninvokable
private native QByteArray replace_native_char_char(long __this__nativeId, byte before, byte after);
/**
* See QByteArray:: replace(const char*, qsizetype, const char*, qsizetype)
*/
@QtUninvokable
public final @NonNull QByteArray replace(java.nio.@Nullable ByteBuffer before, java.nio.@Nullable ByteBuffer after){
return replace_native_const_char_ptr_qsizetype_const_char_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), before, after);
}
@QtUninvokable
private native QByteArray replace_native_const_char_ptr_qsizetype_const_char_ptr_qsizetype(long __this__nativeId, java.nio.ByteBuffer before, java.nio.ByteBuffer after);
/**
* See QByteArray:: replace(qsizetype, qsizetype, QByteArrayView)
*/
@QtUninvokable
public final @NonNull QByteArray replace(long index, long len, io.qt.core.@NonNull QByteArrayView s){
return replace_native_qsizetype_qsizetype_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), index, len, QtJambi_LibraryUtilities.internal.checkedNativeId(s));
}
@QtUninvokable
private native QByteArray replace_native_qsizetype_qsizetype_QByteArrayView(long __this__nativeId, long index, long len, long s);
/**
* See QByteArray:: replace(qsizetype, qsizetype, const char*, qsizetype)
*/
@QtUninvokable
public final @NonNull QByteArray replace(long index, long len, java.nio.@Nullable ByteBuffer s){
return replace_native_qsizetype_qsizetype_const_char_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), index, len, s);
}
@QtUninvokable
private native QByteArray replace_native_qsizetype_qsizetype_const_char_ptr_qsizetype(long __this__nativeId, long index, long len, java.nio.ByteBuffer s);
/**
* See QByteArray:: reserve(qsizetype)
*/
@QtUninvokable
public final void reserve(long size){
reserve_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void reserve_native_qsizetype(long __this__nativeId, long size);
/**
* See QByteArray:: resize(qsizetype)
*/
@QtUninvokable
public final void resize(long size){
resize_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void resize_native_qsizetype(long __this__nativeId, long size);
/**
* See QByteArray:: resize(qsizetype, char)
*/
@QtUninvokable
public final void resize(long size, byte c){
resize_native_qsizetype_char(QtJambi_LibraryUtilities.internal.nativeId(this), size, c);
}
@QtUninvokable
private native void resize_native_qsizetype_char(long __this__nativeId, long size, byte c);
/**
* See QByteArray:: right(qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray right(long n){
return right_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QByteArray right_native_qsizetype_constfct(long __this__nativeId, long n);
/**
* See QByteArray:: rightJustified(qsizetype, char, bool)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray rightJustified(long width, byte fill, boolean truncate){
return rightJustified_native_qsizetype_char_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), width, fill, truncate);
}
@QtUninvokable
private native io.qt.core.QByteArray rightJustified_native_qsizetype_char_bool_constfct(long __this__nativeId, long width, byte fill, boolean truncate);
/**
* See QByteArray:: setNum(double, char, int)
*/
@QtUninvokable
public final @NonNull QByteArray setNum(double arg__1, char format, int precision){
return setNum_native_double_char_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, format, precision);
}
@QtUninvokable
private native QByteArray setNum_native_double_char_int(long __this__nativeId, double arg__1, char format, int precision);
/**
* See QByteArray:: setNum(float, char, int)
*/
@QtUninvokable
public final @NonNull QByteArray setNum(float arg__1, char format, int precision){
return setNum_native_float_char_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, format, precision);
}
@QtUninvokable
private native QByteArray setNum_native_float_char_int(long __this__nativeId, float arg__1, char format, int precision);
/**
* See QByteArray:: setNum(int, int)
*/
@QtUninvokable
public final @NonNull QByteArray setNum(int arg__1, int base){
return setNum_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, base);
}
@QtUninvokable
private native QByteArray setNum_native_int_int(long __this__nativeId, int arg__1, int base);
/**
* See QByteArray:: setNum(qlonglong, int)
*/
@QtUninvokable
public final @NonNull QByteArray setNum(long arg__1, int base){
return setNum_native_qlonglong_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, base);
}
@QtUninvokable
private native QByteArray setNum_native_qlonglong_int(long __this__nativeId, long arg__1, int base);
/**
* See QByteArray:: setNum(short, int)
*/
@QtUninvokable
public final @NonNull QByteArray setNum(short arg__1, int base){
return setNum_native_short_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, base);
}
@QtUninvokable
private native QByteArray setNum_native_short_int(long __this__nativeId, short arg__1, int base);
/**
* See QByteArray:: setRawData(const char*, qsizetype)
*/
@QtUninvokable
protected final @NonNull QByteArray setRawData(java.nio.@Nullable ByteBuffer a){
return setRawData_native_const_char_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native QByteArray setRawData_native_const_char_ptr_qsizetype(long __this__nativeId, java.nio.ByteBuffer a);
/**
* See QByteArray:: shrink_to_fit()
*/
@QtUninvokable
public final void shrink_to_fit(){
shrink_to_fit_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void shrink_to_fit_native(long __this__nativeId);
/**
* See QByteArray:: simplified()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray simplified(){
return simplified_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray simplified_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final long size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long size_native_constfct(long __this__nativeId);
/**
* See QByteArray:: sliced(qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray sliced(long pos){
return sliced_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@QtUninvokable
private native io.qt.core.QByteArray sliced_native_qsizetype_constfct(long __this__nativeId, long pos);
/**
* See QByteArray:: sliced(qsizetype, qsizetype)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray sliced(long pos, long n){
return sliced_native_qsizetype_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pos, n);
}
@QtUninvokable
private native io.qt.core.QByteArray sliced_native_qsizetype_qsizetype_constfct(long __this__nativeId, long pos, long n);
/**
* See QByteArray:: split(char)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList split(byte sep){
return split_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sep);
}
@QtUninvokable
private native io.qt.core.QList split_native_char_constfct(long __this__nativeId, byte sep);
/**
*
*/
@QtUninvokable
public final void squeeze(){
squeeze_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void squeeze_native(long __this__nativeId);
/**
* See QByteArray:: startsWith(QByteArrayView)const
*/
@QtUninvokable
public final boolean startsWith(io.qt.core.@NonNull QByteArrayView bv){
return startsWith_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bv));
}
@QtUninvokable
private native boolean startsWith_native_QByteArrayView_constfct(long __this__nativeId, long bv);
/**
* See QByteArray:: startsWith(char)const
*/
@QtUninvokable
public final boolean startsWith(byte c){
return startsWith_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native boolean startsWith_native_char_constfct(long __this__nativeId, byte c);
/**
* See QByteArray:: swap(QByteArray&)
*/
@QtUninvokable
public final void swap(io.qt.core.@StrictNonNull QByteArray other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QByteArray(long __this__nativeId, long other);
/**
* See QByteArray:: toBase64(QByteArray::Base64Options)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toBase64(io.qt.core.QByteArray.@NonNull Base64Options options){
return toBase64_native_QByteArray_Base64Options_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options.value());
}
@QtUninvokable
private native io.qt.core.QByteArray toBase64_native_QByteArray_Base64Options_constfct(long __this__nativeId, int options);
/**
* See QByteArray:: toDouble(bool*)const
*/
@QtUninvokable
public final double toDouble() throws NumberFormatException{
return toDouble_native_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double toDouble_native_bool_ptr_constfct(long __this__nativeId) throws NumberFormatException ;
/**
* See QByteArray:: toFloat(bool*)const
*/
@QtUninvokable
public final float toFloat() throws NumberFormatException{
return toFloat_native_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float toFloat_native_bool_ptr_constfct(long __this__nativeId) throws NumberFormatException ;
/**
* See QByteArray:: toHex(char)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toHex(byte separator){
return toHex_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), separator);
}
@QtUninvokable
private native io.qt.core.QByteArray toHex_native_char_constfct(long __this__nativeId, byte separator);
/**
* See QByteArray:: toInt(bool*, int)const
*/
@QtUninvokable
public final int toInt(int base) throws NumberFormatException{
return toInt_native_bool_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), base);
}
@QtUninvokable
private native int toInt_native_bool_ptr_int_constfct(long __this__nativeId, int base) throws NumberFormatException ;
/**
* See QByteArray:: toLower()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toLower(){
return toLower_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray toLower_native_constfct(long __this__nativeId);
/**
* See QByteArray:: toPercentEncoding(QByteArray, QByteArray, char)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(io.qt.core.@NonNull QByteArray exclude, io.qt.core.@NonNull QByteArray include, byte percent){
return toPercentEncoding_native_cref_QByteArray_cref_QByteArray_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exclude), QtJambi_LibraryUtilities.internal.checkedNativeId(include), percent);
}
@QtUninvokable
private native io.qt.core.QByteArray toPercentEncoding_native_cref_QByteArray_cref_QByteArray_char_constfct(long __this__nativeId, long exclude, long include, byte percent);
/**
* See QByteArray:: toShort(bool*, int)const
*/
@QtUninvokable
public final short toShort(int base) throws NumberFormatException{
return toShort_native_bool_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), base);
}
@QtUninvokable
private native short toShort_native_bool_ptr_int_constfct(long __this__nativeId, int base) throws NumberFormatException ;
/**
* See QByteArray:: toUpper()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toUpper(){
return toUpper_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray toUpper_native_constfct(long __this__nativeId);
/**
* See QByteArray:: trimmed()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray trimmed(){
return trimmed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray trimmed_native_constfct(long __this__nativeId);
/**
* See QByteArray:: truncate(qsizetype)
*/
@QtUninvokable
public final void truncate(long pos){
truncate_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@QtUninvokable
private native void truncate_native_qsizetype(long __this__nativeId, long pos);
/**
* See QByteArray:: fromBase64(QByteArray, QByteArray::Base64Options)
*/
public static io.qt.core.@NonNull QByteArray fromBase64(io.qt.core.@NonNull QByteArray base64, io.qt.core.QByteArray.@NonNull Base64Options options){
return fromBase64_native_cref_QByteArray_QByteArray_Base64Options(QtJambi_LibraryUtilities.internal.checkedNativeId(base64), options.value());
}
private native static io.qt.core.QByteArray fromBase64_native_cref_QByteArray_QByteArray_Base64Options(long base64, int options);
/**
* See QByteArray:: fromBase64Encoding(QByteArray, QByteArray::Base64Options)
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(io.qt.core.@NonNull QByteArray base64, io.qt.core.QByteArray.@NonNull Base64Options options){
return fromBase64Encoding_native_cref_QByteArray_QByteArray_Base64Options(QtJambi_LibraryUtilities.internal.checkedNativeId(base64), options.value());
}
private native static io.qt.core.QByteArray.FromBase64Result fromBase64Encoding_native_cref_QByteArray_QByteArray_Base64Options(long base64, int options);
/**
* See QByteArray:: fromHex(QByteArray)
*/
public static io.qt.core.@NonNull QByteArray fromHex(io.qt.core.@NonNull QByteArray hexEncoded){
return fromHex_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(hexEncoded));
}
private native static io.qt.core.QByteArray fromHex_native_cref_QByteArray(long hexEncoded);
/**
* See QByteArray:: fromPercentEncoding(QByteArray, char)
*/
public static io.qt.core.@NonNull QByteArray fromPercentEncoding(io.qt.core.@NonNull QByteArray pctEncoded, byte percent){
return fromPercentEncoding_native_cref_QByteArray_char(QtJambi_LibraryUtilities.internal.checkedNativeId(pctEncoded), percent);
}
private native static io.qt.core.QByteArray fromPercentEncoding_native_cref_QByteArray_char(long pctEncoded, byte percent);
/**
* See QByteArray:: fromRawData(const char*, qsizetype)
*/
public native static io.qt.core.@NonNull QByteArray fromRawData(java.nio.@Nullable ByteBuffer data);
/**
* See QByteArray:: number(double, char, int)
*/
public native static io.qt.core.@NonNull QByteArray number(double arg__1, byte format, int precision);
/**
* See QByteArray:: number(int, int)
*/
public native static io.qt.core.@NonNull QByteArray number(int arg__1, int base);
/**
* See QByteArray:: number(qlonglong, int)
*/
public native static io.qt.core.@NonNull QByteArray number(long arg__1, int base);
/**
* See qChecksum(const char*, qsizetype, Qt::ChecksumType)
*
* @deprecated Use the QByteArrayView overload.
*/
@Deprecated
public static short qChecksum(java.nio.@Nullable ByteBuffer s, io.qt.core.Qt.@NonNull ChecksumType standard){
return qChecksum_native_const_char_ptr_qsizetype_Qt_ChecksumType(s, standard.value());
}
@Deprecated
private native static short qChecksum_native_const_char_ptr_qsizetype_Qt_ChecksumType(java.nio.ByteBuffer s, int standard);
/**
*
*/
public static io.qt.core.@NonNull QByteArray qCompress(io.qt.core.@NonNull QByteArray data, int compressionLevel){
return qCompress_native_cref_QByteArray_int(QtJambi_LibraryUtilities.internal.checkedNativeId(data), compressionLevel);
}
private native static io.qt.core.QByteArray qCompress_native_cref_QByteArray_int(long data, int compressionLevel);
/**
* See qCompress(const uchar*, qsizetype, int)
*/
public native static io.qt.core.@NonNull QByteArray qCompress(java.nio.@Nullable ByteBuffer data, int compressionLevel);
/**
*
*/
public static io.qt.core.@NonNull QByteArray qUncompress(io.qt.core.@NonNull QByteArray data){
return qUncompress_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(data));
}
private native static io.qt.core.QByteArray qUncompress_native_cref_QByteArray(long data);
/**
* See qUncompress(const uchar*, qsizetype)
*/
public native static io.qt.core.@NonNull QByteArray qUncompress(java.nio.@Nullable ByteBuffer data);
/**
* Returns an iterator for this iterable object.
* @see #constBegin()
* @see #constEnd()
*/
@Override
public java.util.@NonNull Iterator iterator() {
return constBegin().iterator();
}
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QByteArray(QPrivateConstructor p) { super(p); }
/**
* Checks for equality depending on the type of given object.
* {@link java.lang.String}
ckecked by to QByteArray:: operator==(QString)const
* {@link io.qt.core.QByteArray}
ckecked by to operator==(QByteArray, QByteArray)
* {@link java.nio.ByteBuffer}
ckecked by to operator==(QByteArray, const char*)
* null
ckecked by to operator==(QByteArray, std::nullptr_t)
*
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof java.lang.String) {
return equals((java.lang.String) other);
}
else if (other instanceof io.qt.core.QByteArray) {
return equals((io.qt.core.QByteArray) other);
}
else if (other instanceof io.qt.core.QByteArrayView) {
return equals((io.qt.core.QByteArrayView) other);
}
else if (other instanceof byte[]) {
return equals((byte[]) other);
}
else if (other instanceof java.nio.ByteBuffer) {
return equals((java.nio.ByteBuffer) other);
}
else if (other==null) {
return equals((java.lang.Void)null);
}
return false;
}
/**
* Compares to other object depending on its type.
* {@link java.lang.String}
compared by QByteArray:: operator<(QString)const
* {@link io.qt.core.QByteArray}
compared by operator<(QByteArray, QByteArray)
* {@link io.qt.core.QByteArrayView}
compared by operator<(QByteArray, const char*)
* byte[]
compared by operator<(QByteArray, const char*)
* {@link java.nio.ByteBuffer}
compared by operator<(QByteArray, const char*)
* null
compared by operator<(QByteArray, std::nullptr_t)
*
*/
/**
* {@inheritDoc}
*/
@QtUninvokable
public int compareTo(@StrictNonNull Object other) {
if (equals(other)) return 0;
else if (other instanceof java.lang.String) {
if (operator_less((java.lang.String) other)) return -1;
else return 1;
}
else if (other instanceof io.qt.core.QByteArray) {
if (operator_less((io.qt.core.QByteArray) other)) return -1;
else return 1;
}
else if (other instanceof io.qt.core.QByteArrayView) {
if (operator_less((io.qt.core.QByteArrayView) other)) return -1;
else return 1;
}
if (other instanceof byte[]) {
if (operator_less((byte[]) other)) return -1;
else return 1;
}
if (other instanceof java.nio.ByteBuffer) {
if (operator_less((java.nio.ByteBuffer) other)) return -1;
else return 1;
}
if (other==null) {
if (operator_less((java.lang.Void)null)) return -1;
else return 1;
}
else throw new ClassCastException();
}
/**
* Returns the objects's hash code computed by qHash(QByteArray)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Returns the string representation of the object given by QVariant(this).toString()
.
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static String toString_native(long __this_nativeId);
/**
* Java wrapper for Qt callable std::function<bool(char)>
*/
@FunctionalInterface
public interface Predicate {
public boolean test(byte b);
}
private static byte[] getBytes(String s) {
if(s==null)
return new byte[0];
try {
return s.getBytes("UTF-8");
} catch (java.io.UnsupportedEncodingException e) {
return s.getBytes();
}
}
/**
* See QByteArray::QByteArray(const char*)
*/
public QByteArray(@NonNull String s) {
this(getBytes(s));
}
/**
*
*/
@QtUninvokable
public native static @NonNull QByteArray join(java.util.@NonNull Collection<@NonNull QByteArray> stringList);
/**
* See QByteArrayList::join(char)
*/
@QtUninvokable
public native static @NonNull QByteArray join(java.util.@NonNull Collection<@NonNull QByteArray> stringList, byte sep);
/**
* See QByteArrayList::join(QByteArray)
*/
@QtUninvokable
public native static @NonNull QByteArray join(java.util.@NonNull Collection<@NonNull QByteArray> stringList, @NonNull QByteArray sep);
/**
* See QByteArrayList::join(QByteArrayView)
*/
@QtUninvokable
public native static @NonNull QByteArray join(java.util.@NonNull Collection<@NonNull QByteArray> stringList, @NonNull QByteArrayView sep);
/**
* Creates and returns a copy of this object.
See QByteArray:: QByteArray(QByteArray)
*/
@QtUninvokable
@Override
public QByteArray clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QByteArray clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QByteArray(java.nio.ByteBuffer)}.
*/
public QByteArray(byte[] arg__1, int offsetOfArg__1, int size) {
this(arg__1==null ? null : java.nio.ByteBuffer.wrap(arg__1, offsetOfArg__1, size));
}
/**
* Overloaded constructor for {@link #QByteArray(java.nio.ByteBuffer)}.
*/
public QByteArray(byte[] arg__1) {
this(arg__1==null ? null : java.nio.ByteBuffer.wrap(arg__1));
}
/**
* Overloaded function for {@link #append(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray append(java.lang.@NonNull String a) {
return append(new io.qt.core.QByteArrayView(a));
}
/**
* Overloaded function for {@link #append(java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray append(byte[] s, int offsetOfS, int len) {
return append(s==null ? null : java.nio.ByteBuffer.wrap(s, offsetOfS, len));
}
/**
* Overloaded function for {@link #append(java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray append(byte[] s) {
return append(s==null ? null : java.nio.ByteBuffer.wrap(s));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray assign(java.nio.@NonNull ByteBuffer v) {
return assign(new io.qt.core.QByteArrayView(v));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray assign(byte @NonNull[] v) {
return assign(new io.qt.core.QByteArrayView(v));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QByteArrayView, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QByteArrayView a) {
return compare(a, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #compare(io.qt.core.QByteArray, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QByteArray a) {
return compare(a, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #compare(io.qt.core.QByteArrayView, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QByteArray a, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return compare(new io.qt.core.QByteArrayView(a), cs);
}
/**
* Overloaded function for {@link #compare(java.nio.ByteBuffer, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final int compare(java.nio.@NonNull ByteBuffer a) {
return compare(a, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #compare(io.qt.core.QByteArrayView, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final int compare(java.nio.@NonNull ByteBuffer a, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return compare(new io.qt.core.QByteArrayView(a), cs);
}
/**
* Overloaded function for {@link #compare(byte[], io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final int compare(byte @NonNull[] a) {
return compare(a, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #compare(io.qt.core.QByteArrayView, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final int compare(byte @NonNull[] a, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return compare(new io.qt.core.QByteArrayView(a), cs);
}
/**
* Overloaded function for {@link #compare(java.lang.String, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final int compare(java.lang.@NonNull String a) {
return compare(a, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #compare(io.qt.core.QByteArrayView, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final int compare(java.lang.@NonNull String a, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return compare(new io.qt.core.QByteArrayView(a), cs);
}
/**
* @deprecated Use {@link #toArray()} instead.
*/
@Deprecated
@QtUninvokable
public final byte @StrictNonNull[] toByteArray() {
return toArray();
}
/**
* Overloaded function for {@link #contains(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean contains(io.qt.core.@NonNull QByteArray bv) {
return contains(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #contains(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean contains(java.nio.@NonNull ByteBuffer bv) {
return contains(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #contains(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean contains(byte @NonNull[] bv) {
return contains(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #contains(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean contains(java.lang.@NonNull String bv) {
return contains(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #count(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final long count(io.qt.core.@NonNull QByteArray bv) {
return count(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #count(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final long count(java.nio.@NonNull ByteBuffer bv) {
return count(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #count(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final long count(byte @NonNull[] bv) {
return count(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #count(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final long count(java.lang.@NonNull String bv) {
return count(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #endsWith(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean endsWith(io.qt.core.@NonNull QByteArray bv) {
return endsWith(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #endsWith(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean endsWith(java.nio.@NonNull ByteBuffer bv) {
return endsWith(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #endsWith(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean endsWith(byte @NonNull[] bv) {
return endsWith(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #endsWith(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean endsWith(java.lang.@NonNull String bv) {
return endsWith(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #fill(byte, long)}
* with size = -1
.
*/
@QtUninvokable
public final @NonNull QByteArray fill(byte c) {
return fill(c, (long)-1);
}
/**
* Overloaded function for {@link #indexOf(io.qt.core.QByteArrayView, long)}
* with from = 0
.
*/
@QtUninvokable
public final long indexOf(io.qt.core.@NonNull QByteArrayView bv) {
return indexOf(bv, (long)0);
}
/**
* Overloaded function for {@link #indexOf(io.qt.core.QByteArray, long)}
* with from = 0
.
*/
@QtUninvokable
public final long indexOf(io.qt.core.@NonNull QByteArray bv) {
return indexOf(bv, (long)0);
}
/**
* Overloaded function for {@link #indexOf(io.qt.core.QByteArrayView, long)}.
*/
@QtUninvokable
public final long indexOf(io.qt.core.@NonNull QByteArray bv, long from) {
return indexOf(new io.qt.core.QByteArrayView(bv), from);
}
/**
* Overloaded function for {@link #indexOf(java.nio.ByteBuffer, long)}
* with from = 0
.
*/
@QtUninvokable
public final long indexOf(java.nio.@NonNull ByteBuffer bv) {
return indexOf(bv, (long)0);
}
/**
* Overloaded function for {@link #indexOf(io.qt.core.QByteArrayView, long)}.
*/
@QtUninvokable
public final long indexOf(java.nio.@NonNull ByteBuffer bv, long from) {
return indexOf(new io.qt.core.QByteArrayView(bv), from);
}
/**
* Overloaded function for {@link #indexOf(byte[], long)}
* with from = 0
.
*/
@QtUninvokable
public final long indexOf(byte @NonNull[] bv) {
return indexOf(bv, (long)0);
}
/**
* Overloaded function for {@link #indexOf(io.qt.core.QByteArrayView, long)}.
*/
@QtUninvokable
public final long indexOf(byte @NonNull[] bv, long from) {
return indexOf(new io.qt.core.QByteArrayView(bv), from);
}
/**
* Overloaded function for {@link #indexOf(java.lang.String, long)}
* with from = 0
.
*/
@QtUninvokable
public final long indexOf(java.lang.@NonNull String bv) {
return indexOf(bv, (long)0);
}
/**
* Overloaded function for {@link #indexOf(io.qt.core.QByteArrayView, long)}.
*/
@QtUninvokable
public final long indexOf(java.lang.@NonNull String bv, long from) {
return indexOf(new io.qt.core.QByteArrayView(bv), from);
}
/**
* Overloaded function for {@link #indexOf(byte, long)}
* with from = 0
.
*/
@QtUninvokable
public final long indexOf(byte c) {
return indexOf(c, (long)0);
}
/**
* Overloaded function for {@link #insert(long, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray insert(long i, byte[] s, int offsetOfS, int len) {
return insert(i, s==null ? null : java.nio.ByteBuffer.wrap(s, offsetOfS, len));
}
/**
* Overloaded function for {@link #insert(long, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray insert(long i, byte[] s) {
return insert(i, s==null ? null : java.nio.ByteBuffer.wrap(s));
}
/**
* Overloaded function for {@link #isSharedWith(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final boolean isSharedWith(byte @NonNull[] other) {
return isSharedWith(new io.qt.core.QByteArray(other));
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final long lastIndexOf(io.qt.core.@NonNull QByteArray bv) {
return lastIndexOf(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final long lastIndexOf(java.nio.@NonNull ByteBuffer bv) {
return lastIndexOf(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final long lastIndexOf(byte @NonNull[] bv) {
return lastIndexOf(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final long lastIndexOf(java.lang.@NonNull String bv) {
return lastIndexOf(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QByteArrayView, long)}.
*/
@QtUninvokable
public final long lastIndexOf(io.qt.core.@NonNull QByteArray bv, long from) {
return lastIndexOf(new io.qt.core.QByteArrayView(bv), from);
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QByteArrayView, long)}.
*/
@QtUninvokable
public final long lastIndexOf(java.nio.@NonNull ByteBuffer bv, long from) {
return lastIndexOf(new io.qt.core.QByteArrayView(bv), from);
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QByteArrayView, long)}.
*/
@QtUninvokable
public final long lastIndexOf(byte @NonNull[] bv, long from) {
return lastIndexOf(new io.qt.core.QByteArrayView(bv), from);
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QByteArrayView, long)}.
*/
@QtUninvokable
public final long lastIndexOf(java.lang.@NonNull String bv, long from) {
return lastIndexOf(new io.qt.core.QByteArrayView(bv), from);
}
/**
* Overloaded function for {@link #lastIndexOf(byte, long)}
* with from = -1
.
*/
@QtUninvokable
public final long lastIndexOf(byte c) {
return lastIndexOf(c, (long)-1);
}
/**
* Overloaded function for {@link #leftJustified(long, byte, boolean)}
* with truncate = false
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray leftJustified(long width, byte fill) {
return leftJustified(width, fill, (boolean)false);
}
/**
* Overloaded function for {@link #leftJustified(long, byte, boolean)}
* with:
* fill = ' '
* truncate = false
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray leftJustified(long width) {
return leftJustified(width, (byte)' ', (boolean)false);
}
/**
* Overloaded function for {@link #mid(long, long)}
* with len = -1
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray mid(long index) {
return mid(index, (long)-1);
}
/**
* Overloaded function for {@link #plus(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray plus(byte @NonNull[] a2) {
return plus(new io.qt.core.QByteArray(a2));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
private final boolean operator_less(byte @NonNull[] a2) {
return operator_less(new io.qt.core.QByteArrayView(a2));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
private final boolean operator_less(java.nio.@NonNull ByteBuffer a2) {
return operator_less(new io.qt.core.QByteArrayView(a2));
}
/**
* @deprecated Use {@link #assign(io.qt.core.QByteArray)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.@NonNull QByteArray arg__1) {
assign(arg__1);
}
/**
* @deprecated Use {@link #assign(java.lang.String)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(java.lang.@NonNull String arg__1) {
assign(new io.qt.core.QByteArray(arg__1));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void assign(java.lang.@NonNull String arg__1) {
assign(new io.qt.core.QByteArray(arg__1));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean equals(byte @NonNull[] a2) {
return equals(new io.qt.core.QByteArrayView(a2));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean equals(java.nio.@NonNull ByteBuffer a2) {
return equals(new io.qt.core.QByteArrayView(a2));
}
/**
* Overloaded function for {@link #percentDecoded(byte)}
* with percent = '%'
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray percentDecoded() {
return percentDecoded((byte)'%');
}
/**
* Overloaded function for {@link #prepend(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray prepend(java.lang.@NonNull String a) {
return prepend(new io.qt.core.QByteArrayView(a));
}
/**
* Overloaded function for {@link #prepend(java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray prepend(byte[] s, int offsetOfS, int len) {
return prepend(s==null ? null : java.nio.ByteBuffer.wrap(s, offsetOfS, len));
}
/**
* Overloaded function for {@link #prepend(java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray prepend(byte[] s) {
return prepend(s==null ? null : java.nio.ByteBuffer.wrap(s));
}
/**
* Overloaded function for {@link #push_back(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final void push_back(io.qt.core.@NonNull QByteArray a) {
push_back(new io.qt.core.QByteArrayView(a));
}
/**
* Overloaded function for {@link #push_back(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final void push_back(java.nio.@NonNull ByteBuffer a) {
push_back(new io.qt.core.QByteArrayView(a));
}
/**
* Overloaded function for {@link #push_back(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final void push_back(byte @NonNull[] a) {
push_back(new io.qt.core.QByteArrayView(a));
}
/**
* Overloaded function for {@link #push_front(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final void push_front(io.qt.core.@NonNull QByteArray a) {
push_front(new io.qt.core.QByteArrayView(a));
}
/**
* Overloaded function for {@link #push_front(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final void push_front(java.nio.@NonNull ByteBuffer a) {
push_front(new io.qt.core.QByteArrayView(a));
}
/**
* Overloaded function for {@link #push_front(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final void push_front(byte @NonNull[] a) {
push_front(new io.qt.core.QByteArrayView(a));
}
/**
* Overloaded function for {@link #replace(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(io.qt.core.@NonNull QByteArray before, io.qt.core.@NonNull QByteArrayView after) {
return replace(new io.qt.core.QByteArrayView(before), after);
}
/**
* Overloaded function for {@link #replace(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(java.lang.@NonNull String before, io.qt.core.@NonNull QByteArrayView after) {
return replace(new io.qt.core.QByteArrayView(before), after);
}
/**
* Overloaded function for {@link #replace(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(io.qt.core.@NonNull QByteArrayView before, io.qt.core.@NonNull QByteArray after) {
return replace(before, new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(io.qt.core.@NonNull QByteArray before, io.qt.core.@NonNull QByteArray after) {
return replace(new io.qt.core.QByteArrayView(before), new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(java.lang.@NonNull String before, io.qt.core.@NonNull QByteArray after) {
return replace(new io.qt.core.QByteArrayView(before), new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(io.qt.core.@NonNull QByteArrayView before, java.lang.@NonNull String after) {
return replace(before, new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(io.qt.core.@NonNull QByteArray before, java.lang.@NonNull String after) {
return replace(new io.qt.core.QByteArrayView(before), new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(java.lang.@NonNull String before, java.lang.@NonNull String after) {
return replace(new io.qt.core.QByteArrayView(before), new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(byte, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte before, io.qt.core.@NonNull QByteArray after) {
return replace(before, new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(byte, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte before, java.nio.@NonNull ByteBuffer after) {
return replace(before, new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(byte, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte before, byte @NonNull[] after) {
return replace(before, new io.qt.core.QByteArrayView(after));
}
/**
* Overloaded function for {@link #replace(java.nio.ByteBuffer, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte[] before, int offsetOfBefore, int bsize, java.nio.@Nullable ByteBuffer after) {
return replace(before==null ? null : java.nio.ByteBuffer.wrap(before, offsetOfBefore, bsize), after);
}
/**
* Overloaded function for {@link #replace(java.nio.ByteBuffer, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte[] before, java.nio.@Nullable ByteBuffer after) {
return replace(before==null ? null : java.nio.ByteBuffer.wrap(before), after);
}
/**
* Overloaded function for {@link #replace(java.nio.ByteBuffer, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(java.nio.@Nullable ByteBuffer before, byte[] after, int offsetOfAfter, int asize) {
return replace(before, after==null ? null : java.nio.ByteBuffer.wrap(after, offsetOfAfter, asize));
}
/**
* Overloaded function for {@link #replace(java.nio.ByteBuffer, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte[] before, int offsetOfBefore, int bsize, byte[] after, int offsetOfAfter, int asize) {
return replace(before==null ? null : java.nio.ByteBuffer.wrap(before, offsetOfBefore, bsize), after==null ? null : java.nio.ByteBuffer.wrap(after, offsetOfAfter, asize));
}
/**
* Overloaded function for {@link #replace(java.nio.ByteBuffer, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte[] before, byte[] after, int offsetOfAfter, int asize) {
return replace(before==null ? null : java.nio.ByteBuffer.wrap(before), after==null ? null : java.nio.ByteBuffer.wrap(after, offsetOfAfter, asize));
}
/**
* Overloaded function for {@link #replace(java.nio.ByteBuffer, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(java.nio.@Nullable ByteBuffer before, byte[] after) {
return replace(before, after==null ? null : java.nio.ByteBuffer.wrap(after));
}
/**
* Overloaded function for {@link #replace(java.nio.ByteBuffer, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte[] before, int offsetOfBefore, int bsize, byte[] after) {
return replace(before==null ? null : java.nio.ByteBuffer.wrap(before, offsetOfBefore, bsize), after==null ? null : java.nio.ByteBuffer.wrap(after));
}
/**
* Overloaded function for {@link #replace(java.nio.ByteBuffer, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(byte[] before, byte[] after) {
return replace(before==null ? null : java.nio.ByteBuffer.wrap(before), after==null ? null : java.nio.ByteBuffer.wrap(after));
}
/**
* Overloaded function for {@link #replace(long, long, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(long index, long len, io.qt.core.@NonNull QByteArray s) {
return replace(index, len, new io.qt.core.QByteArrayView(s));
}
/**
* Overloaded function for {@link #replace(long, long, io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(long index, long len, java.lang.@NonNull String s) {
return replace(index, len, new io.qt.core.QByteArrayView(s));
}
/**
* Overloaded function for {@link #replace(long, long, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(long index, long len, byte[] s, int offsetOfS, int alen) {
return replace(index, len, s==null ? null : java.nio.ByteBuffer.wrap(s, offsetOfS, alen));
}
/**
* Overloaded function for {@link #replace(long, long, java.nio.ByteBuffer)}.
*/
@QtUninvokable
public final @NonNull QByteArray replace(long index, long len, byte[] s) {
return replace(index, len, s==null ? null : java.nio.ByteBuffer.wrap(s));
}
/**
* Overloaded function for {@link #rightJustified(long, byte, boolean)}
* with truncate = false
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray rightJustified(long width, byte fill) {
return rightJustified(width, fill, (boolean)false);
}
/**
* Overloaded function for {@link #rightJustified(long, byte, boolean)}
* with:
* fill = ' '
* truncate = false
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray rightJustified(long width) {
return rightJustified(width, (byte)' ', (boolean)false);
}
/**
* Overloaded function for {@link #setNum(double, char, int)}
* with precision = 6
.
*/
@QtUninvokable
public final @NonNull QByteArray setNum(double arg__1, char format) {
return setNum(arg__1, format, (int)6);
}
/**
* Overloaded function for {@link #setNum(double, char, int)}
* with:
* format = 'g'
* precision = 6
*
*/
@QtUninvokable
public final @NonNull QByteArray setNum(double arg__1) {
return setNum(arg__1, 'g', (int)6);
}
/**
* Overloaded function for {@link #setNum(float, char, int)}
* with precision = 6
.
*/
@QtUninvokable
public final @NonNull QByteArray setNum(float arg__1, char format) {
return setNum(arg__1, format, (int)6);
}
/**
* Overloaded function for {@link #setNum(float, char, int)}
* with:
* format = 'g'
* precision = 6
*
*/
@QtUninvokable
public final @NonNull QByteArray setNum(float arg__1) {
return setNum(arg__1, 'g', (int)6);
}
/**
* Overloaded function for {@link #setNum(int, int)}
* with base = 10
.
*/
@QtUninvokable
public final @NonNull QByteArray setNum(int arg__1) {
return setNum(arg__1, (int)10);
}
/**
* Overloaded function for {@link #setNum(long, int)}
* with base = 10
.
*/
@QtUninvokable
public final @NonNull QByteArray setNum(long arg__1) {
return setNum(arg__1, (int)10);
}
/**
* Overloaded function for {@link #setNum(short, int)}
* with base = 10
.
*/
@QtUninvokable
public final @NonNull QByteArray setNum(short arg__1) {
return setNum(arg__1, (int)10);
}
/**
* Overloaded function for {@link #setRawData(java.nio.ByteBuffer)}.
*/
@QtUninvokable
protected final @NonNull QByteArray setRawData(byte[] a, int offsetOfA, int n) {
return setRawData(a==null ? null : java.nio.ByteBuffer.wrap(a, offsetOfA, n));
}
/**
* Overloaded function for {@link #setRawData(java.nio.ByteBuffer)}.
*/
@QtUninvokable
protected final @NonNull QByteArray setRawData(byte[] a) {
return setRawData(a==null ? null : java.nio.ByteBuffer.wrap(a));
}
/**
* Overloaded function for {@link #startsWith(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean startsWith(io.qt.core.@NonNull QByteArray bv) {
return startsWith(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #startsWith(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean startsWith(java.nio.@NonNull ByteBuffer bv) {
return startsWith(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #startsWith(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean startsWith(byte @NonNull[] bv) {
return startsWith(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #startsWith(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean startsWith(java.lang.@NonNull String bv) {
return startsWith(new io.qt.core.QByteArrayView(bv));
}
/**
* Overloaded function for {@link #toBase64(io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toBase64() {
return toBase64(new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #toBase64(io.qt.core.QByteArray.Base64Options)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toBase64(io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return toBase64(new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #toHex(byte)}
* with separator = '\0'
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toHex() {
return toHex((byte)'\0');
}
/**
* Overloaded function for {@link #toInt(int)}
* with base = 10
.
*/
@QtUninvokable
public final int toInt() throws NumberFormatException {
return toInt((int)10);
}
/**
* Overloaded function for {@link #toPercentEncoding(io.qt.core.QByteArray, io.qt.core.QByteArray, byte)}
* with percent = '%'
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(io.qt.core.@NonNull QByteArray exclude, io.qt.core.@NonNull QByteArray include) {
return toPercentEncoding(exclude, include, (byte)'%');
}
/**
* Overloaded function for {@link #toPercentEncoding(io.qt.core.QByteArray, io.qt.core.QByteArray, byte)}
* with:
* include = new io.qt.core.QByteArray()
* percent = '%'
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(io.qt.core.@NonNull QByteArray exclude) {
return toPercentEncoding(exclude, new io.qt.core.QByteArray(), (byte)'%');
}
/**
* Overloaded function for {@link #toPercentEncoding(io.qt.core.QByteArray, io.qt.core.QByteArray, byte)}
* with:
* exclude = new io.qt.core.QByteArray()
* include = new io.qt.core.QByteArray()
* percent = '%'
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding() {
return toPercentEncoding(new io.qt.core.QByteArray(), new io.qt.core.QByteArray(), (byte)'%');
}
/**
* Overloaded function for {@link #toPercentEncoding(byte[], io.qt.core.QByteArray, byte)}
* with percent = '%'
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(byte @NonNull[] exclude, io.qt.core.@NonNull QByteArray include) {
return toPercentEncoding(exclude, include, (byte)'%');
}
/**
* Overloaded function for {@link #toPercentEncoding(byte[], io.qt.core.QByteArray, byte)}
* with:
* include = new io.qt.core.QByteArray()
* percent = '%'
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(byte @NonNull[] exclude) {
return toPercentEncoding(exclude, new io.qt.core.QByteArray(), (byte)'%');
}
/**
* Overloaded function for {@link #toPercentEncoding(io.qt.core.QByteArray, io.qt.core.QByteArray, byte)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(byte @NonNull[] exclude, io.qt.core.@NonNull QByteArray include, byte percent) {
return toPercentEncoding(new io.qt.core.QByteArray(exclude), include, percent);
}
/**
* Overloaded function for {@link #toPercentEncoding(io.qt.core.QByteArray, byte[], byte)}
* with percent = '%'
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(io.qt.core.@NonNull QByteArray exclude, byte @NonNull[] include) {
return toPercentEncoding(exclude, include, (byte)'%');
}
/**
* Overloaded function for {@link #toPercentEncoding(io.qt.core.QByteArray, io.qt.core.QByteArray, byte)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(io.qt.core.@NonNull QByteArray exclude, byte @NonNull[] include, byte percent) {
return toPercentEncoding(exclude, new io.qt.core.QByteArray(include), percent);
}
/**
* Overloaded function for {@link #toPercentEncoding(byte[], byte[], byte)}
* with percent = '%'
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(byte @NonNull[] exclude, byte @NonNull[] include) {
return toPercentEncoding(exclude, include, (byte)'%');
}
/**
* Overloaded function for {@link #toPercentEncoding(io.qt.core.QByteArray, io.qt.core.QByteArray, byte)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toPercentEncoding(byte @NonNull[] exclude, byte @NonNull[] include, byte percent) {
return toPercentEncoding(new io.qt.core.QByteArray(exclude), new io.qt.core.QByteArray(include), percent);
}
/**
* Overloaded function for {@link #toShort(int)}
* with base = 10
.
*/
@QtUninvokable
public final short toShort() throws NumberFormatException {
return toShort((int)10);
}
/**
* Overloaded function for {@link #fromBase64(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(io.qt.core.@NonNull QByteArray base64) {
return fromBase64(base64, new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #fromBase64(byte[], io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(byte @NonNull[] base64) {
return fromBase64(base64, new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #fromBase64(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(byte @NonNull[] base64, io.qt.core.QByteArray.@NonNull Base64Options options) {
return fromBase64(new io.qt.core.QByteArray(base64), options);
}
/**
* Overloaded function for {@link #fromBase64(java.lang.String, io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(java.lang.@NonNull String base64) {
return fromBase64(base64, new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #fromBase64(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(java.lang.@NonNull String base64, io.qt.core.QByteArray.@NonNull Base64Options options) {
return fromBase64(new io.qt.core.QByteArray(base64), options);
}
/**
* Overloaded function for {@link #fromBase64(java.nio.ByteBuffer, io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(java.nio.@Nullable ByteBuffer base64) {
return fromBase64(base64, new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #fromBase64(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(java.nio.@Nullable ByteBuffer base64, io.qt.core.QByteArray.@NonNull Base64Options options) {
return fromBase64(new io.qt.core.QByteArray(base64), options);
}
/**
* Overloaded function for {@link #fromBase64(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(io.qt.core.@NonNull QByteArray base64, io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return fromBase64(base64, new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #fromBase64(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(byte @NonNull[] base64, io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return fromBase64(new io.qt.core.QByteArray(base64), new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #fromBase64(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(java.lang.@NonNull String base64, io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return fromBase64(new io.qt.core.QByteArray(base64), new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #fromBase64(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.@NonNull QByteArray fromBase64(java.nio.@Nullable ByteBuffer base64, io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return fromBase64(new io.qt.core.QByteArray(base64), new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #fromBase64Encoding(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(io.qt.core.@NonNull QByteArray base64) {
return fromBase64Encoding(base64, new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #fromBase64Encoding(byte[], io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(byte @NonNull[] base64) {
return fromBase64Encoding(base64, new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #fromBase64Encoding(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(byte @NonNull[] base64, io.qt.core.QByteArray.@NonNull Base64Options options) {
return fromBase64Encoding(new io.qt.core.QByteArray(base64), options);
}
/**
* Overloaded function for {@link #fromBase64Encoding(java.lang.String, io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(java.lang.@NonNull String base64) {
return fromBase64Encoding(base64, new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #fromBase64Encoding(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(java.lang.@NonNull String base64, io.qt.core.QByteArray.@NonNull Base64Options options) {
return fromBase64Encoding(new io.qt.core.QByteArray(base64), options);
}
/**
* Overloaded function for {@link #fromBase64Encoding(java.nio.ByteBuffer, io.qt.core.QByteArray.Base64Options)}
* with options = new io.qt.core.QByteArray.Base64Options(0)
.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(java.nio.@Nullable ByteBuffer base64) {
return fromBase64Encoding(base64, new io.qt.core.QByteArray.Base64Options(0));
}
/**
* Overloaded function for {@link #fromBase64Encoding(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(java.nio.@Nullable ByteBuffer base64, io.qt.core.QByteArray.@NonNull Base64Options options) {
return fromBase64Encoding(new io.qt.core.QByteArray(base64), options);
}
/**
* Overloaded function for {@link #fromBase64Encoding(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(io.qt.core.@NonNull QByteArray base64, io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return fromBase64Encoding(base64, new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #fromBase64Encoding(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(byte @NonNull[] base64, io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return fromBase64Encoding(new io.qt.core.QByteArray(base64), new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #fromBase64Encoding(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(java.lang.@NonNull String base64, io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return fromBase64Encoding(new io.qt.core.QByteArray(base64), new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #fromBase64Encoding(io.qt.core.QByteArray, io.qt.core.QByteArray.Base64Options)}.
*/
public static io.qt.core.QByteArray.@NonNull FromBase64Result fromBase64Encoding(java.nio.@Nullable ByteBuffer base64, io.qt.core.QByteArray.@NonNull Base64Option @NonNull... options) {
return fromBase64Encoding(new io.qt.core.QByteArray(base64), new io.qt.core.QByteArray.Base64Options(options));
}
/**
* Overloaded function for {@link #fromHex(io.qt.core.QByteArray)}.
*/
public static io.qt.core.@NonNull QByteArray fromHex(byte @NonNull[] hexEncoded) {
return fromHex(new io.qt.core.QByteArray(hexEncoded));
}
/**
* Overloaded function for {@link #fromPercentEncoding(io.qt.core.QByteArray, byte)}
* with percent = '%'
.
*/
public static io.qt.core.@NonNull QByteArray fromPercentEncoding(io.qt.core.@NonNull QByteArray pctEncoded) {
return fromPercentEncoding(pctEncoded, (byte)'%');
}
/**
* Overloaded function for {@link #fromPercentEncoding(byte[], byte)}
* with percent = '%'
.
*/
public static io.qt.core.@NonNull QByteArray fromPercentEncoding(byte @NonNull[] pctEncoded) {
return fromPercentEncoding(pctEncoded, (byte)'%');
}
/**
* Overloaded function for {@link #fromPercentEncoding(io.qt.core.QByteArray, byte)}.
*/
public static io.qt.core.@NonNull QByteArray fromPercentEncoding(byte @NonNull[] pctEncoded, byte percent) {
return fromPercentEncoding(new io.qt.core.QByteArray(pctEncoded), percent);
}
/**
* Overloaded function for {@link #fromRawData(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QByteArray fromRawData(byte[] data, int offsetOfData, int size) {
return fromRawData(data==null ? null : java.nio.ByteBuffer.wrap(data, offsetOfData, size));
}
/**
* Overloaded function for {@link #fromRawData(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QByteArray fromRawData(byte[] data) {
return fromRawData(data==null ? null : java.nio.ByteBuffer.wrap(data));
}
/**
* Overloaded function for {@link #number(double, byte, int)}
* with precision = 6
.
*/
public static io.qt.core.@NonNull QByteArray number(double arg__1, byte format) {
return number(arg__1, format, (int)6);
}
/**
* Overloaded function for {@link #number(double, byte, int)}
* with:
* format = 'g'
* precision = 6
*
*/
public static io.qt.core.@NonNull QByteArray number(double arg__1) {
return number(arg__1, (byte)'g', (int)6);
}
/**
* Overloaded function for {@link #number(int, int)}
* with base = 10
.
*/
public static io.qt.core.@NonNull QByteArray number(int arg__1) {
return number(arg__1, (int)10);
}
/**
* Overloaded function for {@link #number(long, int)}
* with base = 10
.
*/
public static io.qt.core.@NonNull QByteArray number(long arg__1) {
return number(arg__1, (int)10);
}
/**
* Overloaded function for {@link #qChecksum(java.nio.ByteBuffer, io.qt.core.Qt.ChecksumType)}
* with standard = io.qt.core.Qt.ChecksumType.ChecksumIso3309
.
*
* @deprecated Use the QByteArrayView overload.
*/
@Deprecated
public static short qChecksum(java.nio.@Nullable ByteBuffer s) {
return qChecksum(s, io.qt.core.Qt.ChecksumType.ChecksumIso3309);
}
/**
* Overloaded function for {@link #qChecksum(byte[], int, int, io.qt.core.Qt.ChecksumType)}
* with standard = io.qt.core.Qt.ChecksumType.ChecksumIso3309
.
*
* @deprecated Use the QByteArrayView overload.
*/
@Deprecated
public static short qChecksum(byte[] s, int offsetOfS, int len) {
return qChecksum(s==null ? null : java.nio.ByteBuffer.wrap(s, offsetOfS, len), io.qt.core.Qt.ChecksumType.ChecksumIso3309);
}
/**
* Overloaded function for {@link #qChecksum(java.nio.ByteBuffer, io.qt.core.Qt.ChecksumType)}.
*
* @deprecated Use the QByteArrayView overload.
*/
@Deprecated
public static short qChecksum(byte[] s, int offsetOfS, int len, io.qt.core.Qt.@NonNull ChecksumType standard) {
return qChecksum(s==null ? null : java.nio.ByteBuffer.wrap(s, offsetOfS, len), standard);
}
/**
* Overloaded function for {@link #qChecksum(byte[], io.qt.core.Qt.ChecksumType)}
* with standard = io.qt.core.Qt.ChecksumType.ChecksumIso3309
.
*
* @deprecated Use the QByteArrayView overload.
*/
@Deprecated
public static short qChecksum(byte[] s) {
return qChecksum(s==null ? null : java.nio.ByteBuffer.wrap(s), io.qt.core.Qt.ChecksumType.ChecksumIso3309);
}
/**
* Overloaded function for {@link #qChecksum(java.nio.ByteBuffer, io.qt.core.Qt.ChecksumType)}.
*
* @deprecated Use the QByteArrayView overload.
*/
@Deprecated
public static short qChecksum(byte[] s, io.qt.core.Qt.@NonNull ChecksumType standard) {
return qChecksum(s==null ? null : java.nio.ByteBuffer.wrap(s), standard);
}
/**
* Overloaded function for {@link #qCompress(io.qt.core.QByteArray, int)}
* with compressionLevel = -1
.
*/
public static io.qt.core.@NonNull QByteArray qCompress(io.qt.core.@NonNull QByteArray data) {
return qCompress(data, (int)-1);
}
/**
* Overloaded function for {@link #qCompress(java.nio.ByteBuffer, int)}
* with compressionLevel = -1
.
*/
public static io.qt.core.@NonNull QByteArray qCompress(java.nio.@Nullable ByteBuffer data) {
return qCompress(data, (int)-1);
}
/**
* Overloaded function for {@link #qCompress(byte[], int, int, int)}
* with compressionLevel = -1
.
*/
public static io.qt.core.@NonNull QByteArray qCompress(byte[] data, int offsetOfData, int nbytes) {
return qCompress(data==null ? null : java.nio.ByteBuffer.wrap(data, offsetOfData, nbytes), (int)-1);
}
/**
* Overloaded function for {@link #qCompress(java.nio.ByteBuffer, int)}.
*/
public static io.qt.core.@NonNull QByteArray qCompress(byte[] data, int offsetOfData, int nbytes, int compressionLevel) {
return qCompress(data==null ? null : java.nio.ByteBuffer.wrap(data, offsetOfData, nbytes), compressionLevel);
}
/**
* Overloaded function for {@link #qCompress(byte[], int)}
* with compressionLevel = -1
.
*/
public static io.qt.core.@NonNull QByteArray qCompress(byte[] data) {
return qCompress(data==null ? null : java.nio.ByteBuffer.wrap(data), (int)-1);
}
/**
* Overloaded function for {@link #qCompress(java.nio.ByteBuffer, int)}.
*/
public static io.qt.core.@NonNull QByteArray qCompress(byte[] data, int compressionLevel) {
return qCompress(data==null ? null : java.nio.ByteBuffer.wrap(data), compressionLevel);
}
/**
* Overloaded function for {@link #qUncompress(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QByteArray qUncompress(byte[] data, int offsetOfData, int nbytes) {
return qUncompress(data==null ? null : java.nio.ByteBuffer.wrap(data, offsetOfData, nbytes));
}
/**
* Overloaded function for {@link #qUncompress(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QByteArray qUncompress(byte[] data) {
return qUncompress(data==null ? null : java.nio.ByteBuffer.wrap(data));
}
}