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