public static String encodeBase64 ( byte [ ] data , int offset , int len , boolean lineBreaks ) { return Base64 . encodeBytes ( data , offset , len , ( lineBreaks ? Base64 . NO_OPTIONS : Base64 . DONT_BREAK_LINES ) ) ; }
Encodes a byte array into a bse64 String .