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)
| 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 |