摘要:
1 /// 2 /// 将字符串转成二进制 3 /// 4 /// 5 /// 6 public static string bianma(string s) 7 { 8 byte[] data = Encoding.Unicode.GetBytes(s); 9 StringBuilder result = new StringBuilder(data.Length * 8);10 11 foreach (byte b in data)12 {13 ... 阅读全文