1 #include "StreamBuffer.h"
4 StreamBuffer::StreamBuffer(QObject
*parent
) : QTemporaryFile(parent
)
10 StreamBuffer::~StreamBuffer()
19 return QTemporaryFile::open(QIODevice::WriteOnly
);
23 qint64
StreamBuffer::appendBuffer(const char *data
, qint64 len
)
29 m_rwLock
.lockForRead();
33 qint64 _out
= write(data
, len
);
45 bool StreamBuffer::isSequential () const