C
cpptutor2000
Could some Java guru please provide some feedback ? I am provided with
an array of bytes - coming from a physical device and I want to
convert them to integers. To do this, I am taking 4 bytes at a time
and converting these to integers. Is that correct ?
Secondly, is sign preserved in this operation? The input is a time
dependent sinusoidal signal - that is, the bytes will have sign
information encoded in them. I am curious to know if this sign
information will be available once I convert the bytes to integers.
Any suggestions or hints would be extremely helpful. Thanks in advance
for your help.
an array of bytes - coming from a physical device and I want to
convert them to integers. To do this, I am taking 4 bytes at a time
and converting these to integers. Is that correct ?
Secondly, is sign preserved in this operation? The input is a time
dependent sinusoidal signal - that is, the bytes will have sign
information encoded in them. I am curious to know if this sign
information will be available once I convert the bytes to integers.
Any suggestions or hints would be extremely helpful. Thanks in advance
for your help.