MCPcopy Create free account
hub / github.com/antlr/codebuff / decode

Method decode

output/java_guava/1.4.19/BaseEncoding.java:503–510  ·  view source on GitHub ↗
(char ch)

Source from the content-addressed store, hash-verified

501 }
502
503 int decode(char ch) throws DecodingException {
504 if (ch > Ascii.MAX || decodabet[ch] == -1) {
505 throw new DecodingException(
506 "Unrecognized character: "
507 + (CharMatcher.invisible().matches(ch) ? "0x" + Integer.toHexString(ch) : ch));
508 }
509 return decodabet[ch];
510 }
511
512 private boolean hasLowerCase() {
513 for (char c : chars) {

Callers

nothing calls this directly

Calls 2

invisibleMethod · 0.95
matchesMethod · 0.45

Tested by

no test coverage detected