MCPcopy
hub / github.com/libgdx/libgdx / encode

Method encode

gdx/src/com/badlogic/gdx/utils/Base64Coder.java:136–138  ·  view source on GitHub ↗

Encodes a byte array into Base64 format. No blanks or line breaks are inserted in the output. @param in An array containing the data bytes to be encoded. @return A character array containing the Base64 encoded data.

(byte[] in)

Source from the content-addressed store, hash-verified

134 * @param in An array containing the data bytes to be encoded.
135 * @return A character array containing the Base64 encoded data. */
136 public static char[] encode (byte[] in) {
137 return encode(in, regularMap.encodingMap);
138 }
139
140 public static char[] encode (byte[] in, CharMap charMap) {
141 return encode(in, 0, in.length, charMap);

Callers 2

encodeStringMethod · 0.95
encodeLinesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected