How do I convert a string to byte[] without using the Encoding type

后端 未结 0 1845
不思量自难忘°
不思量自难忘° 2020-11-30 21:40

I\'m making a Unity plugin in .net standard 2.0. I need to convert a string to a byte array. I tried using System.Text.Encoding.ASCII.GetBytes(val), but I\'m ge

相关标签:
回答
  • 消灭零回复
提交回复
热议问题