#include <KviDataBuffer.h>
KviDataBuffer::KviDataBuffer |
( |
int |
uSize, |
|
|
const unsigned char * |
data = 0 |
|
) |
| |
KviDataBuffer::KviDataBuffer |
( |
| ) |
|
KviDataBuffer::~KviDataBuffer |
( |
| ) |
|
void KviDataBuffer::addSize |
( |
int |
uSize | ) |
|
|
inline |
void KviDataBuffer::append |
( |
const unsigned char * |
data, |
|
|
int |
uSize |
|
) |
| |
References m_pData, m_uSize, KviMemory::move(), and KviMemory::reallocate().
Referenced by DccVoiceNullCodec::decode(), DccVideoSJpegCodec::decode(), DccVoiceNullCodec::encode(), DccVideoSJpegCodec::encodeText(), DccVideoSJpegCodec::encodeVideo(), KviHttpRequest::processData(), DccVideoThread::textStep(), and DccVideoThread::videoStep().
void KviDataBuffer::clear |
( |
| ) |
|
|
inline |
unsigned char* KviDataBuffer::data |
( |
| ) |
const |
|
inline |
Referenced by KviOggTheoraDecoder::addData(), append(), KviStatusBarUpdateIndicator::binaryDataReceived(), DccVoiceNullCodec::decode(), DccVoiceAdpcmCodec::decode(), DccVideoSJpegCodec::decode(), KviHttpRequest::emitLines(), DccVoiceNullCodec::encode(), DccVoiceAdpcmCodec::encode(), DccVideoSJpegCodec::encodeText(), DccVideoTheoraCodec::encodeText(), DccVideoSJpegCodec::encodeVideo(), DccVideoTheoraCodec::encodeVideo(), KviIrcSocket::flushSendQueue(), KviHttpRequest::processData(), KviIrcSocket::queue_removePrivateMessages(), DccVideoThread::readWriteStep(), DccVoiceThread::readWriteStep(), KviIrcConnection::sendData(), KviIrcConnection::sendFmtData(), KviIrcSocket::sendRawData(), KviHttpRequest::slotSocketDisconnected(), KviHttpRequest::slotSocketReadDataReady(), DccVoiceThread::soundStep(), DccVideoThread::textStep(), and DccVideoThread::videoStep().
int KviDataBuffer::find |
( |
unsigned char |
c | ) |
|
int KviDataBuffer::find |
( |
const unsigned char * |
block, |
|
|
int |
uSize |
|
) |
| |
void KviDataBuffer::remove |
( |
int |
uSize | ) |
|
References KviMemory::free(), KVI_ASSERT, m_pData, m_uSize, KviMemory::move(), and KviMemory::reallocate().
Referenced by DccVoiceAdpcmCodec::decode(), DccVideoSJpegCodec::decode(), KviHttpRequest::emitLines(), DccVoiceAdpcmCodec::encode(), KviIrcSocket::flushSendQueue(), KviHttpRequest::processData(), DccVideoThread::readWriteStep(), DccVoiceThread::readWriteStep(), and DccVoiceThread::soundStep().
void KviDataBuffer::resize |
( |
int |
uSize | ) |
|
References KviMemory::free(), KVI_ASSERT, m_pData, m_uSize, and KviMemory::reallocate().
Referenced by DccVoiceNullCodec::decode(), DccVoiceNullCodec::encode(), DccVideoThread::readWriteStep(), DccVoiceThread::readWriteStep(), KviIrcConnection::sendFmtData(), KviHttpRequest::slotSocketReadDataReady(), and DccVoiceThread::soundStep().
int KviDataBuffer::size |
( |
| ) |
const |
|
inline |
Referenced by KviOggTheoraDecoder::addData(), append(), KviStatusBarUpdateIndicator::binaryDataReceived(), DccVoiceNullCodec::decode(), DccVoiceAdpcmCodec::decode(), DccVideoSJpegCodec::decode(), DccVideoTheoraCodec::decode(), DccVoiceNullCodec::encode(), DccVoiceAdpcmCodec::encode(), DccVideoSJpegCodec::encodeText(), DccVideoTheoraCodec::encodeText(), DccVideoSJpegCodec::encodeVideo(), DccVideoTheoraCodec::encodeVideo(), KviIrcSocket::flushSendQueue(), KviHttpRequest::processData(), KviIrcSocket::queue_removePrivateMessages(), DccVideoThread::readWriteStep(), DccVoiceThread::readWriteStep(), DccVoiceThread::run(), KviHttpRequest::slotSocketDisconnected(), DccVoiceThread::soundStep(), DccVideoThread::textStep(), and DccVideoThread::videoStep().
unsigned char* KviDataBuffer::m_pData |
|
private |
int KviDataBuffer::m_uSize |
|
private |
The documentation for this class was generated from the following files: