QByteArray QNetworkReplyProto::peek(qint64 maxSize) { QNetworkReply *item = qscriptvalue_cast<QNetworkReply*>(thisObject()); if (item) return item->peek(maxSize); return QByteArray(); }
qint64 QNetworkReplyProto::peek(char * data, qint64 maxSize) { QNetworkReply *item = qscriptvalue_cast<QNetworkReply*>(thisObject()); if (item) return item->peek(data, maxSize); return 0; }