|
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.
cNewSize | [ in ] The new size of the buffer in bytes. |
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pBuffer was NULL or cBuffer was 0. |
P6R::eNoMemory | There was not enough available memory to fulfill the request. | |
P6R::eTooSmall | cNewSize is smaller than the current data size in the buffer. cNewSize must be >= the current data size (see inUse()). |