#include <DS_ByteQueue.h>
Public Member Functions | |
| ByteQueue () | |
| ~ByteQueue () | |
| void | WriteBytes (const char *in, unsigned length, const char *file, unsigned int line) |
| bool | ReadBytes (char *out, unsigned maxLengthToRead, bool peek) |
| unsigned | GetBytesWritten (void) const |
| char * | PeekContiguousBytes (unsigned int *outLength) const |
| void | IncrementReadOffset (unsigned length) |
| void | DecrementReadOffset (unsigned length) |
| void | Clear (const char *file, unsigned int line) |
| void | Print (void) |
Protected Attributes | |
| char * | data |
| unsigned | readOffset |
| unsigned | writeOffset |
| unsigned | lengthAllocated |
Definition at line 20 of file DS_ByteQueue.h.
| ByteQueue::ByteQueue | ( | ) |
Definition at line 9 of file DS_ByteQueue.cpp.
| ByteQueue::~ByteQueue | ( | ) |
| void ByteQueue::Clear | ( | const char * | file, | |
| unsigned int | line | |||
| ) |
| void ByteQueue::DecrementReadOffset | ( | unsigned | length | ) |
| unsigned ByteQueue::GetBytesWritten | ( | void | ) | const |
| void ByteQueue::IncrementReadOffset | ( | unsigned | length | ) |
| char * ByteQueue::PeekContiguousBytes | ( | unsigned int * | outLength | ) | const |
| void ByteQueue::Print | ( | void | ) |
Definition at line 121 of file DS_ByteQueue.cpp.
| bool ByteQueue::ReadBytes | ( | char * | out, | |
| unsigned | maxLengthToRead, | |||
| bool | peek | |||
| ) |
Definition at line 59 of file DS_ByteQueue.cpp.


| void ByteQueue::WriteBytes | ( | const char * | in, | |
| unsigned | length, | |||
| const char * | file, | |||
| unsigned int | line | |||
| ) |
Definition at line 20 of file DS_ByteQueue.cpp.


char* DataStructures::ByteQueue::data [protected] |
Definition at line 35 of file DS_ByteQueue.h.
unsigned DataStructures::ByteQueue::lengthAllocated [protected] |
Definition at line 36 of file DS_ByteQueue.h.
unsigned DataStructures::ByteQueue::readOffset [protected] |
Definition at line 36 of file DS_ByteQueue.h.
unsigned DataStructures::ByteQueue::writeOffset [protected] |
Definition at line 36 of file DS_ByteQueue.h.
1.7.1