byte[]类型直接输出或者调用ToString函数都会出现这个结果。

需要执行:

byte[] a=new byte[10];

string text = "";
for (int i = 0; i < a.Length; i++)
{
  text += a[i].ToString("X2") ;
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-07-07
  • 2021-12-31
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
相关资源
相似解决方案