diff options
Diffstat (limited to 'bitwise.go')
-rw-r--r-- | bitwise.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3,6 +3,7 @@ package main +// validateBitZeros checks if the first n bits of a byte slice are all zeros. func validateBitZeros(bs []byte, n uint) bool { q := n / 8 r := n % 8 |