MCPcopy Create free account
hub / github.com/bit4woo/ReSign / encode

Method encode

src/custom/CBase64.java:451–453  ·  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. @return base64 encoded input as bytes

(byte[] input, int flags)

Source from the content-addressed store, hash-verified

449 * @return base64 encoded input as bytes
450 */
451 public static byte[] encode(byte[] input, int flags) {
452 return encode(input, 0, input.length, flags);
453 }
454
455 /**
456 * Base64-encode the given data and return a newly allocated byte[] with the result.

Callers 3

encodeToStringMethod · 0.95
encryptMethod · 0.95
encryptMethod · 0.95

Calls 1

processMethod · 0.95

Tested by

no test coverage detected