I get the result "1000" from byte[] byteData =[0,0,0,8];Thank you very much.Good to hear.On a side note, I would point out that you almost certainly want to be using ubyte and not byte. byte is signed, whereas ubyte is unsigned. So, if you want to represent bytes of memory rather than an integral value between 1 and 127, then you want ubyte.- Jonathan M Davis
Thank you.