(str string)
| 263 | } |
| 264 | |
| 265 | func countUppers(str string) int { |
| 266 | cnt := 0 |
| 267 | for i := 0; i < len(str); i++ { |
| 268 | if str[i] >= 'A' && str[i] <= 'Z' { |
| 269 | cnt++ |
| 270 | } |
| 271 | } |
| 272 | return cnt |
| 273 | } |
| 274 | |
| 275 | func (e *Encoder) charToValueLowerSpecial(c byte) (val byte, err error) { |
| 276 | if c >= 'a' && c <= 'z' { |
no outgoing calls