Added Methods |
void copyBytes(InputStream, OutputStream, int)
|
Copies from one stream to another. |
void copyBytes(InputStream, OutputStream, long, boolean)
|
Copies count bytes from one stream to another. |
void copyBytes(InputStream, OutputStream, long, int, boolean)
|
Copies the specified length of bytes from in to out. |
void readFileChannelFully(FileChannel, byte[], int, int)
|
Reads len bytes in a loop using the channel of the stream. |
int wrappedReadForCompressedData(InputStream, byte[], int, int)
|
Utility wrapper for reading from InputStream It catches any errors thrown by the underlying stream (either IO or decompression-related) and re-throws as an IOException. |