Reads the data from input stream completely. It keeps inMemory size in the memory, and the rest on the file system. Caller's responsibility to close the InputStream. This method can be called only once.
@param in from which to be read
@param inMemory this much data is kept in the memory
@throws IOException in case of exception
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.