☰
Debian Codegraph
@
1.2.1-2
1.2.1-1
/
/
mem
/
contains.go
☽
☼
mem/contains.go
code
plain
raw
MIT-0
2021-2023 Segment
debian/copyright
1
package mem
2
3
import "bytes"
4
5
func containsGeneric(haystack []byte, needle byte) bool {
6
return bytes.IndexByte(haystack, needle) != -1
7
}