- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a sequence of bytes that can be quickly matched in a byte array
Java wrapper for Qt class QByteArrayMatcher
-
Constructor Summary
ConstructorDescriptionQByteArrayMatcher
(byte [] pattern) Overloaded constructor forQByteArrayMatcher(java.nio.ByteBuffer)
.QByteArrayMatcher
(byte [] pattern, int offsetOfPattern, int length) Overloaded constructor forQByteArrayMatcher(java.nio.ByteBuffer)
.QByteArrayMatcher
(QByteArray pattern) QByteArrayMatcher
(QByteArrayView pattern) QByteArrayMatcher
(ByteBuffer pattern) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QByteArrayMatcher other) clone()
Creates and returns a copy of this object.final boolean
equals
(QByteArrayMatcher value2) Seeoperator==(QByteArrayMatcher,
QByteArrayMatcher) boolean
Seeoperator==(QByteArrayMatcher,
QByteArrayMatcher) int
hashCode()
Returns the objects's hash code computed byqHash(QByteArrayMatcher)
.final long
indexIn
(byte [] data) Overloaded function forindexIn(byte[], long)
withfrom = 0
.final long
indexIn
(byte [] data, long from) Overloaded function forindexIn(io.qt.core.QByteArrayView, long)
.final long
indexIn
(QByteArray ba) Overloaded function forindexIn(io.qt.core.QByteArray, long)
withfrom = 0
.final long
indexIn
(QByteArray ba, long from) SeeQByteArrayMatcher::
indexIn<void>(QByteArray, qsizetype)const final long
indexIn
(QByteArrayView data) Overloaded function forindexIn(io.qt.core.QByteArrayView, long)
withfrom = 0
.final long
indexIn
(QByteArrayView data, long from) final long
indexIn
(ByteBuffer data) Overloaded function forindexIn(java.nio.ByteBuffer, long)
withfrom = 0
.final long
indexIn
(ByteBuffer data, long from) Overloaded function forindexIn(io.qt.core.QByteArrayView, long)
.final QByteArray
pattern()
final void
setPattern
(byte [] pattern) Overloaded function forsetPattern(io.qt.core.QByteArray)
.final void
setPattern
(QByteArray pattern) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QByteArrayMatcher
public QByteArrayMatcher() -
QByteArrayMatcher
-
QByteArrayMatcher
-
QByteArrayMatcher
-
QByteArrayMatcher
-
QByteArrayMatcher
public QByteArrayMatcher(byte [] pattern, int offsetOfPattern, int length) Overloaded constructor for
QByteArrayMatcher(java.nio.ByteBuffer)
. -
QByteArrayMatcher
public QByteArrayMatcher(byte [] pattern) Overloaded constructor for
QByteArrayMatcher(java.nio.ByteBuffer)
.
-
-
Method Details
-
indexIn
-
indexIn
See
QByteArrayMatcher::
indexIn<void>(QByteArray, qsizetype)const -
assign
-
equals
See
operator==(QByteArrayMatcher,
QByteArrayMatcher) -
pattern
-
setPattern
-
equals
See
operator==(QByteArrayMatcher,
QByteArrayMatcher) -
hashCode
Returns the objects's hash code computed byqHash(QByteArrayMatcher)
. -
clone
Creates and returns a copy of this object.
-
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArrayView, long)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(java.nio.ByteBuffer, long)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArrayView, long)
. -
indexIn
Overloaded function for
indexIn(byte[], long)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArrayView, long)
. -
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArray, long)
withfrom = 0
. -
setPattern
Overloaded function for
setPattern(io.qt.core.QByteArray)
.
-