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

Method decode

output/java_guava/1.4.19/BaseEncoding.java:222–228  ·  view source on GitHub ↗

Decodes the specified character sequence, and returns the resulting byte[]. This is the inverse operation to #encode(byte[]). @throws IllegalArgumentException if the input is not a valid encoded string according to this encoding.

(CharSequence chars)

Source from the content-addressed store, hash-verified

220
221
222 public final byte[] decode(CharSequence chars) {
223 try {
224 return decodeChecked(chars);
225 } catch (DecodingException badInput) {
226 throw new IllegalArgumentException(badInput);
227 }
228 }
229
230 /**
231 * Decodes the specified character sequence, and returns the resulting {@code byte[]}. This is the

Callers 7

doForwardMethod · 0.45
doForwardMethod · 0.45
decodeToMethod · 0.45
readMethod · 0.45
decodeToMethod · 0.45
decodeToMethod · 0.45
doForwardMethod · 0.45

Calls 1

decodeCheckedMethod · 0.95

Tested by

no test coverage detected