摘要: c#将string和byte数组之间互相转换如下方法将字符串转换为byte数组,使用System.Buffer.BlockCopy方法。static byte[] GetBytes(string str){ byte[] bytes = new byte[str.Length * sizeof... 阅读全文
posted @ 2015-12-14 09:53 彩虹下的约定 阅读(1798) 评论(0) 推荐(0) 编辑