diff --git a/util/bits.go b/util/bits.go index 3a363d9..f20feaf 100644 --- a/util/bits.go +++ b/util/bits.go @@ -1,6 +1,19 @@ package util -// Tells if bit is set in given byte -func GetBit(n byte, bitN int) bool { - return n&byte(1<