c# 16进制byte转成int

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

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

posted @ 2017-05-16 18:13  Joanna-In-Hdu&Hust  阅读(3091)  评论(0编辑  收藏  举报