func google.golang.org/protobuf/internal/strs.EnforceUTF8
19 uses
google.golang.org/protobuf/internal/strs (current package)
strings.go#L19: func EnforceUTF8(fd protoreflect.FieldDescriptor) bool {
google.golang.org/protobuf/internal/impl
codec_tables.go#L105: if ft.Kind() == reflect.String && strs.EnforceUTF8(fd) {
codec_tables.go#L111: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 && strs.EnforceUTF8(fd) {
codec_tables.go#L261: if ft.Kind() == reflect.String && strs.EnforceUTF8(fd) {
codec_tables.go#L267: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 && strs.EnforceUTF8(fd) {
codec_tables.go#L341: if ft.Kind() == reflect.String && strs.EnforceUTF8(fd) {
codec_tables.go#L411: if ft.Kind() == reflect.String && strs.EnforceUTF8(fd) {
codec_tables.go#L417: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 && strs.EnforceUTF8(fd) {
codec_tables.go#L544: if strs.EnforceUTF8(fd) {
validate.go#L125: if strs.EnforceUTF8(fd) {
validate.go#L162: if strs.EnforceUTF8(fd) {
validate.go#L179: if strs.EnforceUTF8(fd) {
validate.go#L190: if strs.EnforceUTF8(fd) {
validate.go#L206: if strs.EnforceUTF8(fd) {
google.golang.org/protobuf/encoding/prototext
decode.go#L332: if strs.EnforceUTF8(fd) && !utf8.ValidString(s) {
encode.go#L214: if !e.opts.allowInvalidUTF8 && strs.EnforceUTF8(fd) && !utf8.ValidString(s) {
google.golang.org/protobuf/proto
decode_gen.go#L158: if strs.EnforceUTF8(fd) && !utf8.Valid(v) {
decode_gen.go#L554: if strs.EnforceUTF8(fd) && !utf8.Valid(v) {
encode_gen.go#L71: if strs.EnforceUTF8(fd) && !utf8.ValidString(v.String()) {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)