MCPcopy Create free account
hub / github.com/0opslab/opslabJutil / encode

Method encode

src/main/java/com/opslab/util/encrypt/Base64Ext.java:484–486  ·  view source on GitHub ↗

Base64-encode the given data and return a newly allocated byte[] with the result. @param input the data to encode @param flags controls certain features of the encoded output. Passing DEFAULT results in output that adheres to RFC 2045.

(byte[] input, int flags)

Source from the content-addressed store, hash-verified

482 * adheres to RFC 2045.
483 */
484 public static byte[] encode(byte[] input, int flags) {
485 return encode(input, 0, input.length, flags);
486 }
487
488 /**
489 * Base64-encode the given data and return a newly allocated

Callers 6

encryptBASE64Method · 0.95
pngCaptchaBase64Method · 0.95
gifCaptchaBase64Method · 0.95
encodeToStringMethod · 0.95
AESEncodeMethod · 0.95
encryptBASE64Method · 0.95

Calls 1

processMethod · 0.95

Tested by

no test coverage detected