copyRange
Copies part of the content of a InputStream into an OutputStream. Uses a default buffer size of 8024 bytes.
Return
the number of bytes copied
Since
1.21
Parameters
input
the InputStream to copy
output
the target Stream
len
maximum amount of bytes to copy
Throws
if an error occurs
Copies part of the content of a InputStream into an OutputStream
Return
the number of bytes copied
Since
1.21
Parameters
input
the InputStream to copy
len
maximum amount of bytes to copy
output
the target, may be null to simulate output to dev/null on Linux and NUL on Windows
buffersize
the buffer size to use, must be bigger than 0
Throws
if an error occurs
if buffersize is smaller than or equal to 0