GO contains.go
package mem
import "bytes"
func containsGeneric(haystack []byte, needle byte) bool {
return bytes.IndexByte(haystack, needle) != -1
}
package mem
import "bytes"
func containsGeneric(haystack []byte, needle byte) bool {
return bytes.IndexByte(haystack, needle) != -1
}