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