☰
Debian Codegraph
@
1.2.1-2
1.2.1-1
/
/
utf8
/
utf8.go
☽
☼
utf8/utf8.go
code
plain
raw
MIT-0
2021-2023 Segment
debian/copyright
1
package utf8
2
3
import _ "github.com/segmentio/asm/cpu"
4
5
// Valid reports whether p consists entirely of valid UTF-8-encoded runes.
6
func Valid(p []byte) bool {
7
return Validate(p).IsUTF8()
8
}