org.python.core
Class FileUtil
public
class
FileUtil
extends Object
Utility methods for Java file handling.
public static byte[] readBytes(InputStream in)
Read all bytes from the input stream.
Note that using this method to
read very large streams could cause out-of-memory exceptions and/or block
for large periods of time.