Definition in file bitbuf.h.
Go to the source code of this file.
Typedefs | |
| typedef struct_BitBuf | BitBuf |
Functions | |
| void | bitbufInit (BitBuf *bitBuffer, unsigned char *start, unsigned short bytesize) |
| initialize a buffer to start at a given address and have given size | |
| unsigned char | bitbufGet (BitBuf *bitBuffer) |
| get the bit at the current position in the buffer | |
| unsigned char | bitbufGetAtIndex (BitBuf *bitBuffer, unsigned short bitIndex) |
| get a bit at the specified index in the buffer (kind of like array access) | |
| void | bitbufStore (BitBuf *bitBuffer, unsigned char bit) |
| store a bit at the current position in the buffer | |
| unsigned short | bitbufGetDataLength (BitBuf *bitBuffer) |
| return the number of bits in the buffer | |
| void | bitbufReset (BitBuf *bitBuffer) |
| resets the read/write position of the buffer to beginning | |
| void | bitbufFlush (BitBuf *bitBuffer) |
| flush (clear) the contents of the buffer | |
1.4.2