Module dlib.core.bitio
Bit-level manipulations
Functions
Name | Description |
---|---|
getBit(b, pos)
|
Returns bit at position pos in integer b |
hiNibble(b)
|
Returns high 4 bits of a byte |
loNibble(b)
|
Returns low 4 bits of a byte |
setBit(b, pos, state)
|
Sets bit at position pos in integer b to state |
Enums
Name | Description |
---|---|
Endian
|
Endianness |