(InputStream i, OutputStream o, int bufferSize)
| 166 | /// |
| 167 | /// - `bufferSize`: the size of the buffer, which should be a power of 2 large enough |
| 168 | public static void copyNoClose(InputStream i, OutputStream o, int bufferSize) throws IOException { |
| 169 | copyNoClose(i, o, bufferSize, null); |
| 170 | } |
| 171 | |
| 172 | /// Copy the input stream into the output stream, without closing the streams when done |
| 173 | /// |