rtxBitString.h File Reference
#include "rtxsrc/rtxContext.h"
Go to the source code of this file.
Defines | |
#define | OSRTBYTEARRAYSIZE(numbits) ((numbits+7)/8) |
Functions | |
OSUINT32 | rtxGetBitCount (OSUINT32 value) |
int | rtxSetBit (OSOCTET *pBits, OSSIZE numbits, OSSIZE bitIndex) |
OSUINT32 | rtxSetBitFlags (OSUINT32 flags, OSUINT32 mask, OSBOOL action) |
int | rtxClearBit (OSOCTET *pBits, OSSIZE numbits, OSSIZE bitIndex) |
OSBOOL | rtxTestBit (const OSOCTET *pBits, OSSIZE numbits, OSSIZE bitIndex) |
OSSIZE | rtxLastBitSet (const OSOCTET *pBits, OSSIZE numbits) |
int | rtxCheckBitBounds (OSCTXT *pctxt, OSOCTET **ppBits, OSSIZE *pNumocts, OSSIZE minRequiredBits, OSSIZE preferredLimitBits) |
Detailed Description
- Contains utility functions for setting, clearing, and testing bits at any position in an arbitrarily sized array of bytes.