C#里面 怎么把char型的“0x00”字符串 变成byte型的 0x00

如题
2025-04-13 09:30:56
推荐回答(1个)
回答1:

byte[] by = Encoding.GetEncoding("gb2312").GetBytes("字符串内容");