MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / fromBase64

Method fromBase64

src/main/java/fieldnashorn/sourcemap/Base64.java:65–69  ·  view source on GitHub ↗

@param c A base64 digit. @return A value in the range of 0-63.

(char c)

Source from the content-addressed store, hash-verified

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.

Callers 2

addBase64DigitMethod · 0.95
decodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected