MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / base64Decode

Method base64Decode

src/main/java/emu/grasscutter/utils/Utils.java:355–357  ·  view source on GitHub ↗

Base64 decodes a given string. @param toDecode A base64 encoded string. @return An array of bytes.

(String toDecode)

Source from the content-addressed store, hash-verified

353 * @return An array of bytes.
354 */
355 public static byte[] base64Decode(String toDecode) {
356 return Base64.getDecoder().decode(toDecode);
357 }
358
359 /**
360 * Safely JSON decodes a given string.

Callers 3

authenticateMethod · 0.95
queryCurrentRegionMethod · 0.95
handleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected