Consumes an IO buffer reader.
INKReturnCode INKIOBufferReaderConsume
(INKIOBufferReader
readerp
, int
nbytes
)
Moves the read offset for the IO buffer reader
ahead by the amount
readerp
. nbytes
Caution | |
---|---|
Once a reader moves its offset ahead, it can never move it back. When a reader moves its offset, the data it has moved is potentially freed at that moment. |
INK_SUCCESS
if the operation completes
successfully.
INK_ERROR
if an error occurs.