string weclome="";

 

byte[] data = new byte[1024];

//字符串转byte数组

data = Encoding.ASCII.GetBytes(welcome);
 

//byte[]数组转ASCII字符串

weclome=Encoding.ASCII.GetString(data, 0, data.length)
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-15
  • 2022-12-23
  • 2021-09-29
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案