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

Returns the current size of the buffer in bytes.

Resizing the buffer is relatively inefficient as it requires re-allocating memory. It's always best to set the initial size of the buffer correctly to begin with, resizing in exceptional situations only.

Parameters
pcSize[ out ] A pointer to a P6R::P6UINT32 in which will be placed the current buffer size in bytes.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpcSize was NULL.