A class for binary streams. More...
#include <BitStream.h>
Public Member Functions | |
| void | allocate (int size) |
| Reserves a specified number of bytes in the stream. | |
| unsigned int | read (int bits) |
| Reads the specified number of bits. | |
| void | write (unsigned int data, int bits) |
| Writes the specified number of bits. | |
Public Attributes | |
| unsigned char * | buffer |
| A buffer that contains the data. | |
| int | pos |
| Current read/write position in the stream. | |
| bool | ownsBuffer |
| Indicates whether the buffer is owned by the stream object. | |
A class for binary streams.
Definition at line 10 of file BitStream.h.