String a='10000000', byte b=the Convert. ToByte (a, 2)
This is the field of data?
Table 2. The LEN field is the data length, 2 bytes, if the field is 7 bytes, direct transfer int byte is ok?
CodePudding user response:
1, it should be you send, operating a line directly, need not String;2, 7 bytes is what mean?
CodePudding user response:
Use BitConverter conversion to each otherCodePudding user response:
Fieldoffset, direct deposit int, and then directly into the byte