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)
| 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. |
no test coverage detected