Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
The TQByteArray class provides an array of bytes. More...
All the functions in this class are reentrant when TQt is built with thread support.
#include <ntqcstring.h>
Inherits TQMemArray<char>.
Inherited by TQBitArray and TQCString.
The TQByteArray class provides an explicitly shared array of bytes. It is useful for manipulating memory areas with custom data. TQByteArray is implemented as a TQMemArray<char>. See the TQMemArray documentation for further information.
See also Collection Classes and Non-GUI Classes.
Constructs an empty TQByteArray.
Constructs a TQByteArray of size size.
Compresses the array data and returns the compressed byte array using zlib.
See also qUncompress().
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Compresses the array data which is nbytes long and returns the compressed byte array.
Uncompresses the array data and returns the uncompressed byte array.
Returns an empty TQByteArray if the input data was corrupt.
See also qCompress().
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Uncompresses the array data which is nbytes long and returns the uncompressed byte array.
This file is part of the TQt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.
Copyright © 2007 Trolltech | Trademarks | TQt 3.3.8
|