Added a private readBytes method that returns the entirety of an inputstream. Previously, we only grabbed the amount of data that was indicated by input_stream.available(), which is not neccessarily the entire stream. This commit fixes this issue.
Added a private readBytes method that returns the entirety of an inputstream. Previously, we only grabbed the amount of data that was indicated by input_stream.available(), which is not neccessarily the entire stream. This commit fixes this issue.

git-svn-id: 96f3d5e05db12ecf1c3ae3c053d1d86eca4ab774@21 0c4b1d1f-a87e-43e2-b515-cbd7e906cf19

uvagfx/hipi,nvoron23/hipi,ltowarek/hipi,AngelBanuelos/hipi,nvoron23/hipi,ltowarek/hipi,AngelBanuelos/hipi,uvagfx/hipi,ltowarek/hipi,voigtlandier/hipi,nvoron23/hipi,uvagfx/hipi,AngelBanuelos/hipi,AngelBanuelos/hipi,uvagfx/hipi,nvoron23/hipi,ltowarek/hipi,voigtlandier/hipi,voigtlandier/hipi