Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IPacket::consume ( P6UINT32  cSize)
pure virtual

Consumes the specified number of bytes of data, adjusting the reported amount of data used accordingly and making the specified number of bytes +1 the next available byte in the buffer.

Parameters
cSize[ in ] The number of bytes to consume.
Returns
SuccesseOkThe request number of bytes were successfully consumed.
FailureP6R::eInvalidArgcSize was zero.
P6R::eTooBigThe requested number of bytes to consume exceededs the current number of bytes in use.