How do I take a ByteArrayInputStream and have its contents saved as a file on the filesystem

Posted by Ankur on Stack Overflow See other posts from Stack Overflow or by Ankur
Published on 2010-05-13T05:54:48Z Indexed on 2010/05/13 6:04 UTC
Read the original article Hit count: 216

I have an image which is in the form of a ByteArrayInputStream. I want to take this and make it something that I can save to a location in my filesystem.

I've been going around in circles, could you please help me out.

© Stack Overflow or respective owner

Related posts about java

Related posts about bytearrayinputstream