mirror of
https://github.com/xen0bit/bitslinger.git
synced 2024-06-16 11:58:53 +00:00
15 lines
166 B
Go
15 lines
166 B
Go
|
package main
|
||
|
|
||
|
|
||
|
func testEq(a, b []byte) bool {
|
||
|
if len(a) != len(b) {
|
||
|
return false
|
||
|
}
|
||
|
for i := range a {
|
||
|
if a[i] != b[i] {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
return true
|
||
|
}
|