Module dlib.core.bitio

Bit-level manipulations

Functions

NameDescription
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

NameDescription
Endian Endianness