2006年5月9日

字符串 To 字节数组 的转换

摘要: #region string to byte[]. public static byte[] Str2Arr(String s) { return (new UTF8Encoding()).GetBytes(s); //return (new UnicodeEncoding()).GetBytes(s); } #endregion #region byte[] to... 阅读全文

posted @ 2006-05-09 17:32 Clark Chan 阅读(318) 评论(0) 推荐(0) 编辑

导航