Java Base
使用方法
示例代碼
String類型 進行Base
String encoded = Base
String類型 進行Base
String decoded = Base
指定字符編碼方式
String encoded = Base
String decoded = Base
對文件進行編碼
byte[] source =
byte[] encoded = Base
byte[] decoded = Base
如果大件比較大
InputStream inputStream = new FileInputStream(
OutputStream outputStream = new FileOutputStream(
Base
outputStream
inputStream
代碼示例Base
InputStream inputStream = new FileInputStream(
OutputStream outputStream = new FileOutputStream(
Base
outputStream
inputStream
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19149.html