Go to the source code of this file.
Data Structures | |
| struct | _BITFIELD_ |
| ADT for compactly representing a bit field. More... | |
Typedefs | |
| typedef _BITFIELD_ | BitFieldStruct |
| ADT for compactly representing a bit field. | |
| typedef _BITFIELD_ * | BitFieldPtr |
| ADT for compactly representing a bit field. | |
Functions | |
| BitField | BitFieldNew (int byteSize) |
| Create a new BitField with the specified number of bits. | |
| void | BitFieldFree (BitField b) |
| Frees the memory associated with the BitField. | |
| int | BitFieldGetNumBytes (BitField b) |
| Returns the number of bytes being used to represent the BitField. | |
| int | BitFieldGetBit (BitField b, long offset) |
| Returns the value of the specifed bit. | |
| void | BitFieldSetBit (BitField b, long offset, int val) |
| Sets the value of the specified bit. | |
|
|
ADT for compactly representing a bit field. See bitfield.h for more detail. |
|
|
ADT for compactly representing a bit field. See bitfield.h for more detail. |
|
|
Frees the memory associated with the BitField.
|
|
||||||||||||
|
Returns the value of the specifed bit.
|
|
|
Returns the number of bytes being used to represent the BitField.
|
|
|
Create a new BitField with the specified number of bits.
|
|
||||||||||||||||
|
Sets the value of the specified bit.
|
hosted by