摘要:
最近研究编码,byte[]和int 各类型转换时发现byte[] a= Encoding.Default.GetBytes("啊"); int area = (short)a[0]; int pos = (short)a[1]; int code = (area << 8) + pos;code 是gb2312 的中文编码号,是一个整数但是,使用byte[] b=BitConvert... 阅读全文
posted @ 2010-10-14 00:09
anncesky
阅读(311)
评论(0)
推荐(0)