MCPcopy
hub / github.com/apache/commons-io / copyLarge

Method copyLarge

src/main/java/org/apache/commons/io/IOUtils.java:2121–2124  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Calls 4

copyMethod · 0.95
skipFullyMethod · 0.95
readMethod · 0.45
writeMethod · 0.45