NCL Library
|
#include <NetBuffer.hpp>
Public Member Functions | |
CNetBuffer () | |
~CNetBuffer () | |
bool | Empty () const |
size_t | Size () const |
size_t | Capacity () const |
const void * | Ptr () const |
size_t | Append (const void *pBuffer, size_t nBufSize) |
size_t | Discard (size_t nCount) |
void | Clear () |
Protected Attributes | |
CBuffer | m_oBuffer |
size_t | m_nDataSize |
size_t | m_nMinCapacity |
Static Protected Attributes | |
static const size_t | DEF_MIN_CAPACITY = 4096 |
bool CNetBuffer::Empty | ( | ) | const [inline] |
size_t CNetBuffer::Size | ( | ) | const [inline] |
size_t CNetBuffer::Capacity | ( | ) | const [inline] |
const void * CNetBuffer::Ptr | ( | ) | const [inline] |
size_t CNetBuffer::Append | ( | const void * | pBuffer, |
size_t | nBufSize | ||
) |
size_t CNetBuffer::Discard | ( | size_t | nCount | ) |
void CNetBuffer::Clear | ( | ) |
CBuffer CNetBuffer::m_oBuffer [protected] |
size_t CNetBuffer::m_nDataSize [protected] |
size_t CNetBuffer::m_nMinCapacity [protected] |
const size_t CNetBuffer::DEF_MIN_CAPACITY = 4096 [static, protected] |