Static Public Member Functions | |
static void | arrayWriteBit (int state, int index, int offset, byte[] buf) |
Write the bit state in a byte array. | |
static int | arrayReadBit (int index, int offset, byte[] buf) |
Read a bit state in a byte array. |
static void arrayWriteBit | ( | int | state, | |
int | index, | |||
int | offset, | |||
byte[] | buf | |||
) | [static] |
Write the bit state in a byte array.
state | new state of the bit 1, 0 | |
index | bit index into byte array | |
offset | byte offset into byte array to start | |
buf | byte array to manipulate |
static int arrayReadBit | ( | int | index, | |
int | offset, | |||
byte[] | buf | |||
) | [static] |
Read a bit state in a byte array.
index | bit index into byte array | |
offset | byte offset into byte array to start | |
buf | byte array to read from |