Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #55.0K
1 Posted Topic
Convert an InputStream to a byte array: [code] InputStream is = readInputStreamFromSomewhere(); byte[] data = {}; byte[] temp = new byte[1024];//declare a 1kb array, but really any size you want. while( is.available() > 0 ){ int read = is.read( temp ); byte[] temp2 = new byte[data.length + read]; System.arraycopy( data, …
The End.
javagrendel