MCPcopy Create free account
hub / github.com/apache/fory / isASCII

Function isASCII

go/fory/meta/meta_string_encoder.go:215–222  ·  view source on GitHub ↗
(input string)

Source from the content-addressed store, hash-verified

213}
214
215func isASCII(input string) bool {
216 for _, r := range input {
217 if r > 127 {
218 return false
219 }
220 }
221 return true
222}
223
224type stringStatistics struct {
225 digitCount int

Callers 2

EncodeMethod · 0.85
EncodeWithEncodingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected