Versions in this module Expand all Collapse all v0 v0.2.0 Jul 20, 2022 Changes in this version + var BitMask = [8]byte + var FlippedBitMask = [8]byte + func BitIsNotSet(buf []byte, i int) bool + func BitIsSet(buf []byte, i int) bool + func BytesForBits(bits int64) int64 + func CeilByte(size int) int + func CeilByte64(size int64) int64 + func ClearBit(buf []byte, i int) + func CountSetBits(buf []byte, offset, n int) int + func IsMultipleOf8(v int64) bool + func NextPowerOf2(x int) int + func SetBit(buf []byte, i int) + func SetBitTo(buf []byte, i int, val bool)