summaryrefslogtreecommitdiffstats
path: root/lib/byte.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/byte.go')
-rw-r--r--lib/byte.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/byte.go b/lib/byte.go
index 7e5ead4..48f3a38 100644
--- a/lib/byte.go
+++ b/lib/byte.go
@@ -39,3 +39,7 @@ func ByteIsUpper(b byte) bool {
}
return false
}
+
+func BytesEqual(a, b []byte) bool {
+ return BlocksEqual(a, b)
+}