Pipes an InputStream directly into this OutputStream.
The number of bytes written is either the whole input stream when nbytes == 0, or exactly nbytes for nbytes > 0. If the input stream contains less than nbytes of data, an exception is thrown.
See Implementation
Pipes an InputStream directly into this OutputStream.
The number of bytes written is either the whole input stream when nbytes == 0, or exactly nbytes for nbytes > 0. If the input stream contains less than nbytes of data, an exception is thrown.