MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / encodeBytes

Method encodeBytes

samples/JGroups/src/S3_PING.java:2042–2044  ·  view source on GitHub ↗

Encodes a byte array into Base64 notation. Does not GZip-compress data. @param source The data to convert @since 1.4

(byte[] source)

Source from the content-addressed store, hash-verified

2040 * @since 1.4
2041 */
2042 public static String encodeBytes(byte[] source) {
2043 return encodeBytes(source, 0, source.length, NO_OPTIONS);
2044 } // end encodeBytes
2045
2046
2047 /**

Callers 1

encodeMethod · 0.95

Calls 3

encode3to4Method · 0.95
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected