QNonContiguousByteDeviceFactory Class
Header: | #include <QNonContiguousByteDeviceFactory> |
Static Public Members
int | createShared(QIODevice *device) |
int | createShared(QByteArray *byteArray) |
Detailed Description
\inmodule
QtCore \since
4.6
Creates a QNonContiguousByteDevice out of a QIODevice, QByteArray etc.
\internal
See also QNonContiguousByteDevice.
Member Function Documentation
[static]
int QNonContiguousByteDeviceFactory::createShared(QIODevice *device)
Create a QNonContiguousByteDevice out of a QIODevice, return it in a std::shared_ptr. For QFile, QBuffer and all other QIODevice, sequential or not.
\internal
[static]
int QNonContiguousByteDeviceFactory::createShared(QByteArray *byteArray)
Create a QNonContiguousByteDevice out of a QByteArray.
\internal