function bin2String(array) { return String.fromCharCode.apply(String, array); } var bit=[104,101,108,108,111,32,119,111,114,108,100]; var tostring=bin2String(['104','101','108','108','111','32','119','111','114','108','100']); // "hello word" co
string weclome=""; byte[] data = new byte[1024]; //字符串转byte数组 data = Encoding.ASCII.GetBytes(welcome); //byte[]数组转ASCII字符串 weclome=Encoding.ASCII.GetString(data, 0, data.length)