49 CBuffer(uint8_t* pByteArray,
size_t nByteArraySize,
bool fCopy);
HRESULT InitWithAllocation(size_t size)
HRESULT InitWithAllocAndCopy(uint8_t *pByteArray, size_t nByteArraySize)
void operator=(const CBuffer &other)
HRESULT InitNoAlloc(uint8_t *pByteArray, size_t nByteArraySize)
HRESULT SetSize(size_t size)
size_t GetAllocatedSize()
boost::scoped_array< uint8_t > _spAllocation
boost::shared_ptr< CBuffer > CRefCountedBuffer