MCPcopy
hub / github.com/keploy/keploy / IsASCII

Function IsASCII

pkg/agent/proxy/integrations/util/util.go:11–18  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

9)
10
11func IsASCII(s string) bool {
12 for _, r := range s {
13 if r > unicode.MaxASCII {
14 return false
15 }
16 }
17 return true
18}
19
20func DecodeBase64(encoded string) ([]byte, error) {
21 // Decode the base64 encoded string to buffer

Callers 4

findStringMatchMethod · 0.92
PerformFuzzyMatchMethod · 0.92
findExactMatchFunction · 0.92
encodePayloadFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected