If all are unsigned integers, then why not make it easy
on yourself and just multiply each by a scaler to effect
the shift? ie
each position is just multiplied by 128^n-1
byte1 + byte2*128 + byte3 *(128 *128) + byte4 * (128 *
128 *128)
-----Original Message-----
Hello everyone,
I have the following problem. Four sequential bytes represent a binarynumber, where the 7th bit is allways 0, so each of the bytes looks like0yyyyyyy. I cannot find a way to turn this binary number into an integer.Unfortunately all books I have on C# don't delve too deep into binaryarithmetics :(((
Could anyone help me with this please? TIA!