Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BitMask = [8]byte{1, 2, 4, 8, 16, 32, 64, 128} FlippedBitMask = [8]byte{254, 253, 251, 247, 239, 223, 191, 127} )
Functions ¶
func BitIsNotSet ¶
BitIsNotSet returns true if the bit at index i in buf is not set (0).
func CountSetBits ¶
CountSetBits counts the number of 1's in buf up to n bits.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.