Hi,

I'm reading data from a socket like this:

byte[] data = new byte[12];
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?

Best,

Ted