MCPcopy Create free account
hub / github.com/Card-Forge/forge / decode

Method decode

forge-core/src/main/java/forge/util/Base64Coder.java:294–296  ·  view source on GitHub ↗

Decodes a byte array from Base64 format. No blanks or line breaks are allowed within the Base64 encoded input data. @param s A Base64 String to be decoded. @return An array containing the decoded data bytes. If the input is not valid Base64 encoded data.

(final String s)

Source from the content-addressed store, hash-verified

292 * If the input is not valid Base64 encoded data.
293 */
294 public static byte[] decode(final String s) {
295 return Base64Coder.decode(s.toCharArray());
296 }
297
298 /**
299 * Decodes a byte array from Base64 format. No blanks or line breaks are

Callers 3

decodeStringMethod · 0.95
decodeLinesMethod · 0.95
decryptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected