Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBits ¶
GetBits extracts the value of bits for a given mask
Example: given b = 0b11011001 and mask = 0b11100000, the function returns 0b110
func IsBitSet ¶
IsBitSet returns true if the bit at the given position (0-7) is set in the byte, false otherwise
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.