ByteArrayRef Class
(CPlusPlus::ByteArrayRef)Public Functions
ByteArrayRef() | |
ByteArrayRef(const QByteArray *ref) | |
ByteArrayRef(const char *start, int length) | |
ByteArrayRef(const QByteArray *ref, int offset, int length) | |
char | at(int pos) const |
int | count(char c) const |
int | length() const |
int | size() const |
const char * | start() const |
bool | startsWith(const char *ch) const |
QByteArray | toByteArray() const |
bool | operator!=(const QByteArray &other) const |
bool | operator!=(const char *other) const |
bool | operator==(const QByteArray &other) const |
bool | operator==(const char *other) const |
char | operator[](int pos) const |
Member Function Documentation
ByteArrayRef::ByteArrayRef()
Default constructs an instance of ByteArrayRef.
ByteArrayRef::ByteArrayRef(const QByteArray *ref)
Default constructs an instance of ByteArrayRef.
ByteArrayRef::ByteArrayRef(const char *start, int length)
Default constructs an instance of ByteArrayRef.
ByteArrayRef::ByteArrayRef(const QByteArray *ref, int offset, int length)
Default constructs an instance of ByteArrayRef.