From dbfadc5a7e5bd3163b49878994063cd6d869fe6a Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 24 Mar 2025 21:47:40 +0800 Subject: Refactor --- bitwise.go | 1 + 1 file changed, 1 insertion(+) (limited to 'bitwise.go') diff --git a/bitwise.go b/bitwise.go index f8bce7a..689e667 100644 --- a/bitwise.go +++ b/bitwise.go @@ -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 -- cgit v1.2.3