2021
01-08
01-08
关于Java下奇怪的Base64详解
下面这一段代码中会报错。packagejiangbo.java.lang;importjava.io.IOException;importjava.nio.charset.Charset;importjavax.xml.bind.DatatypeConverter;importsun.misc.BASE64Decoder;importsun.misc.BASE64Encoder;publicclassBase64Demo{publicstaticvoidmain(String[]args)throwsIOException{Stringname="jiangbo";Charsetutf8=Charset.forName("UTF-8");BASE64Encoderbase64Encoder=...
继续阅读 >