BitConverter. ToUInt16 (), is to put the two bytes is converted to an unsigned integer, such as: 205 56 two bytes hexadecimal is this CD, 38 then converted to an unsigned integer should be upside down row is 38 CD this number is converted to an unsigned decimal integer 14541
CodePudding user response:
Byte array is low in the first and the last to high,Normally we express is generally high in the former, low in the back
CodePudding user response:
If you don't agreed a byte order, different side to communicate, can appear unable to parse correctly,CodePudding user response:
Each system is different, also can know what is the size of the end of the first