摘要: char转化为byte: public static byte[] charToByte(char c) { byte[] b = new byte[2]; b[0] = (byte) ((c & 0xFF00) >> 8); b[1] = (byte) (c & 0xFF); return b; 阅读全文
posted @ 2017-10-04 22:30 zhanghengscnc 阅读(3298) 评论(0) 推荐(0) 编辑