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