@param c A base64 digit. @return A value in the range of 0-63.
(char c)
| 63 | * @return A value in the range of 0-63. |
| 64 | */ |
| 65 | public static int fromBase64(char c) { |
| 66 | int result = BASE64_DECODE_MAP[c]; |
| 67 | assert (result != -1) : "invalid char"; |
| 68 | return BASE64_DECODE_MAP[c]; |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * @param value an integer to base64 encode. |
no outgoing calls
no test coverage detected