Logo Search packages:      
Sourcecode: randomsound version File versions  Download package

bitbuffer.h File Reference


Detailed Description

Implementation of a circular buffer of bits.

Author:
Daniel Silverstone
A circular buffer of bits.

Author:
Daniel Silverstone

Definition in file bitbuffer.h.

Go to the source code of this file.

Typedefs

typedef struct bitbuffer_s * BitBuffer
typedef unsigned char BitField

Functions

int bitbuffer_add_bits (BitBuffer buf, const BitField bits, int count)
int bitbuffer_available_bits (const BitBuffer buf)
int bitbuffer_extract_bits (BitBuffer buf, BitField *bits, int count)
void bitbuffer_free (BitBuffer buf)
int bitbuffer_free_space (const BitBuffer buf)
BitBuffer bitbuffer_new (const int size)


Generated by  Doxygen 1.6.0   Back to index