equal
deleted
inserted
replaced
753 \sa readData() readLine() write() |
753 \sa readData() readLine() write() |
754 */ |
754 */ |
755 qint64 QIODevice::read(char *data, qint64 maxSize) |
755 qint64 QIODevice::read(char *data, qint64 maxSize) |
756 { |
756 { |
757 Q_D(QIODevice); |
757 Q_D(QIODevice); |
|
758 CHECK_READABLE(read, qint64(-1)); |
758 |
759 |
759 #if defined QIODEVICE_DEBUG |
760 #if defined QIODEVICE_DEBUG |
760 printf("%p QIODevice::read(%p, %d), d->pos = %d, d->buffer.size() = %d\n", |
761 printf("%p QIODevice::read(%p, %d), d->pos = %d, d->buffer.size() = %d\n", |
761 this, data, int(maxSize), int(d->pos), int(d->buffer.size())); |
762 this, data, int(maxSize), int(d->pos), int(d->buffer.size())); |
762 #endif |
763 #endif |