Copies bytes from a large (over 2GB) InputStream to an OutputStream . This method buffers the input internally, so there is no need to use a BufferedInputStream . The buffer size is given by #DEFAULT_BUFFER_SIZE. @param input the InputStrea
(final InputStream input, final OutputStream output)
| 2119 | * @since 1.3 |
| 2120 | */ |
| 2121 | public static long copyLarge(final InputStream input, final OutputStream output) |
| 2122 | throws IOException { |
| 2123 | return copy(input, output, DEFAULT_BUFFER_SIZE); |
| 2124 | } |
| 2125 | |
| 2126 | /** |
| 2127 | * Copies bytes from a large (over 2GB) <code>InputStream</code> to an |