package util // Tells if bit is set in given byte, // if bitN <= 0 - always returns false func GetBit(b byte, bitN int) bool { if bitN == 0 { return false } return b&byte(1<