Hi Guys
I am trying to get a byte converted into an integer...
My byte array is formated as follows:
0X71+4 byte binary data+0xff 0xff 0xff
So I need to convert those 4Bytes into an Integer, But HOW?????
(The bytes are in litle endian order)
Please help
[EDIT]
since I cannot delete the post, I leave my working solution here:
Bit.ParseInt(bytec.HexFromBytes(bytec.SubString2(Buffer,9,13)),16)
bytec is a byteconverter object
I am trying to get a byte converted into an integer...
My byte array is formated as follows:
0X71+4 byte binary data+0xff 0xff 0xff
So I need to convert those 4Bytes into an Integer, But HOW?????
(The bytes are in litle endian order)
Please help
[EDIT]
since I cannot delete the post, I leave my working solution here:
Bit.ParseInt(bytec.HexFromBytes(bytec.SubString2(Buffer,9,13)),16)
bytec is a byteconverter object
Last edited: