private static boolean isAlpha(int c) {
    return (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
  }
Percent Encode the provided byte.

@param data to encode
@param bos with the output stream to use.
core/src/main/java/feign/template/UriUtils.java