#include <IFIFOBuffer.h>
Inheritance diagram for IFIFOBuffer:
Public Member Functions | |
IFIFOBuffer (void) | |
virtual | ~IFIFOBuffer (void) |
virtual unsigned long | read (unsigned char *outData, unsigned long inBytesToRead)=0 |
Read bytes from the internal buffer. Returns how many actually read. | |
virtual unsigned long | write (const unsigned char *inData, unsigned long inBytesToWrite)=0 |
Write bytes into the internal buffer. Returns how many written. | |
virtual unsigned long | numBytesAvail ()=0 |
Returns how many bytes are available in the buffer. | |
virtual unsigned long | spaceLeft ()=0 |
Returns how much space is left in the buffer. | |
virtual void | reset ()=0 |
Resets the buffer. |
|
Definition at line 36 of file IFIFOBuffer.h. |
|
Definition at line 37 of file IFIFOBuffer.h. |
|
Returns how many bytes are available in the buffer.
Implemented in CircularBuffer. Referenced by OggDataBuffer::numBytesAvail(). |
|
Read bytes from the internal buffer. Returns how many actually read.
Implemented in CircularBuffer. Referenced by OggDataBuffer::processBaseHeader(), OggDataBuffer::processDataSegment(), and OggDataBuffer::processSegTable(). |
|
Resets the buffer.
Implemented in CircularBuffer. Referenced by OggDataBuffer::clearData(). |
|
Returns how much space is left in the buffer.
Implemented in CircularBuffer. |
|
Write bytes into the internal buffer. Returns how many written.
Implemented in CircularBuffer. Referenced by OggDataBuffer::feed(). |