MCPcopy
hub / github.com/libgdx/libgdx / decode

Method decode

gdx/src/com/badlogic/gdx/utils/Base64Coder.java:233–235  ·  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. @throws IllegalArgumentException If the input is not valid Base64 encoded data.

(String s)

Source from the content-addressed store, hash-verified

231 * @return An array containing the decoded data bytes.
232 * @throws IllegalArgumentException If the input is not valid Base64 encoded data. */
233 public static byte[] decode (String s) {
234 return decode(s.toCharArray());
235 }
236
237 /** Decodes a byte array from Base64 format. No blanks or line breaks are allowed within the Base64 encoded input data.
238 * @param s A Base64 String to be decoded.

Callers 4

getTileIdsMethod · 0.95
getTileIdsMethod · 0.95
decodeStringMethod · 0.95
decodeLinesMethod · 0.95

Calls 1

toCharArrayMethod · 0.80

Tested by

no test coverage detected