Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICircbuf::resize ( P6SIZE  cNewSize)
pure virtual

Resize the buffer.

This method will fail if the number of bytes currently in the buffer is larger than the new buffer size.

Parameters
cNewSize[ in ] The new size of the buffer in bytes.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpBuffer was NULL or cBuffer was 0.
P6R::eNoMemoryThere was not enough available memory to fulfill the request.
P6R::eTooSmallcNewSize is smaller than the current data size in the buffer. cNewSize must be >= the current data size (see inUse()).