Bit-level manipulations
Endianness
Returns bit at position pos in integer b
Returns high 4 bits of a byte
Returns low 4 bits of a byte
Sets bit at position pos in integer b to state
Returns 16-bit integer n with swapped endianness TODO: move to dlib.math.utils
See Source File
Boost License 1.0.
Timur Gafarov 2015-2021.
Timur Gafarov
Bit-level manipulations