Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICircbuf::getData ( P6UINT8 pBuffer,
P6SIZE pcBuffer 
)
pure virtual

This method is used to get and remove data from the buffer.

The number of bytes read will become available in the buffer.

Parameters
pBuffer[ out ] A pointer to a buffer in which to store the requested data.
pcBuffer[INOUT] A pointer to a P6R::P6UINT32 that on entry should contain the size of pBuffer in bytes. On return, the number of bytes actually stored in the buffer will be returned here. If the buffer is empty, eOk will be returned directly and a value of zero will be stored in pcBuffer.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpBuffer and/or pcBuffer was NULL.