MCPcopy Index your code
hub / github.com/apache/commons-io / copy

Method copy

src/main/java/org/apache/commons/io/CopyUtils.java:135–138  ·  view source on GitHub ↗

Copy bytes from a byte[] to an OutputStream . @param input the byte array to read from @param output the OutputStream to write to @throws IOException In case of an I/O problem

(final byte[] input, final OutputStream output)

Source from the content-addressed store, hash-verified

133 * @throws IOException In case of an I/O problem
134 */
135 public static void copy(final byte[] input, final OutputStream output)
136 throws IOException {
137 output.write(input);
138 }
139
140 // ----------------------------------------------------------------
141 // byte[] -> Writer

Calls 3

writeMethod · 0.45
readMethod · 0.45
flushMethod · 0.45