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