Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

bufferedinputstream to byte array

//With Apache Commons IO
InputStream is;
byte[] bytes = IOUtils.toByteArray(is);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bufferedinputstream #byte #array
ADD COMMENT
Topic
Name
8+9 =