byte[] byteArray = new byte[]{0x9E,0xAB,0xE4,0xBD};
string str = BitConverter.ToString(msgData, 0).Replace("-", string.Empty);
C# 一行实现byte[]数组转十六进制字符串
最新推荐文章于 2024-06-24 10:56:24 发布
byte[] byteArray = new byte[]{0x9E,0xAB,0xE4,0xBD};
string str = BitConverter.ToString(msgData, 0).Replace("-", string.Empty);