inputstream.read truncates first (zero) byte
I'm reading data from a socket like this:
byte data = new byte;
inputStream.read(data); // Actual byte transfer
Everything works great, except the first byte (which is typcially 0x00, but
can sometimes be 0x01) is being truncated when it is 0x00.
Has any one seen this, and is there a workaround?
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center