MCPcopy Create free account
hub / github.com/buggins/coolreader / encode

Method encode

android/src/org/coolreader/donations/util/Base64.java:246–248  ·  view source on GitHub ↗

Encodes a byte array into Base64 notation. Equivalent to calling encodeBytes(source, 0, source.length) @param source The data to convert @since 1.4

(byte[] source)

Source from the content-addressed store, hash-verified

244 * @since 1.4
245 */
246 public static String encode(byte[] source) {
247 return encode(source, 0, source.length, ALPHABET, true);
248 }
249
250 /**
251 * Encodes a byte array into web safe Base64 notation.

Callers 1

encodeWebSafeMethod · 0.95

Calls 1

encode3to4Method · 0.95

Tested by

no test coverage detected