摘要: private static final char[] legalChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".toCharArray();/** Base64 encode the given data */ public static String encode(byte[] data) { int start = 0; int len = data.length; StringBuffer buf = new StringBuffer(d... 阅读全文
posted @ 2013-07-09 20:37 ttssrs 阅读(296) 评论(0) 推荐(0) 编辑