字符串 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 阅读(323) 评论(0) 推荐(0)
浙公网安备 33010602011771号