1  byte[] Ratedata=new byte[4];
2  Ratedata=System.BitConverter.GetBytes(FreResultTBoxValue);

上面这个 FreResultTBoxValue 变量是int,系统中自带int转BYTE的函数(^-^)

c# 16进制byte转成int

相关文章:

  • 2022-12-23
  • 2021-04-24
  • 2021-11-06
  • 2021-12-10
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-11
  • 2022-12-23
  • 2021-08-02
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2021-05-24
相关资源
相似解决方案