fredsa / playn

Cross platform game library for N≥4 platforms
0 stars 1 forks source link

JavaNet appends lots of null characters #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

In JavaNet::readFully the way the stream is read in causes lots of null 
characters for each character thats between the size of what is read in and the 
buffer size. This causes f.ex the Json parser to explode! 

Attached a possible fix, seems to work so far for me at least. 

/Simen

Original issue reported on code.google.com by simen...@gmail.com on 17 Jan 2012 at 10:47

Attachments:

GoogleCodeExporter commented 9 years ago
Oversaw that this issue already exists, sorry.

Original comment by simen...@gmail.com on 17 Jan 2012 at 10:49

GoogleCodeExporter commented 9 years ago
Thanks, just got fixed in issue 120.

Original comment by jgw@google.com on 14 Feb 2012 at 1:44