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?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL