Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~241 People Reached
Favorite Forums
Favorite Tags
Member Avatar for reuel3

What's wrong with the following code? public void fillByteArray(InputStream s, byte[] b, int offset, Integer numReads, int readAmount){ while (numReads > 0){ s.read(b, offset, readAmount); offset += readAmount; numReads--; } }

Member Avatar for bguild
-1
241