grails - Base64 encoding in Java / Groovy -
what proper way convert byte [] base64 string in java? better yet grails / groovy because tells me encodeasbase64()
function deprecated. sun.misc.base64encoder
package isn't recommended use , outputs different size string on windows platforms.
apache commons has many utilities:
binary package: http://commons.apache.org/codec/apidocs/org/apache/commons/codec/binary/base64.html
download: http://commons.apache.org/codec/download_codec.cgi
Comments
Post a Comment