Debian Codegraph @

utf8/valid_default.go

raw
1 //go:build purego || !amd64
2 // +build purego !amd64
3
4 package utf8
5
6 // Validate is a more precise version of Valid that also indicates whether the
7 // input was valid ASCII.
8 func Validate(p []byte) Validation {
9 return validate(p)
10 }