Fix documentation of pipe().
This commit is contained in:
parent
6041347405
commit
5010085340
|
@ -27,12 +27,12 @@ public import eventcore.driver : IOMode;
|
||||||
|
|
||||||
/** Pipes an InputStream directly into this OutputStream.
|
/** Pipes an InputStream directly into this OutputStream.
|
||||||
|
|
||||||
The number of bytes written is either the whole input stream when `nbytes == 0`, or exactly
|
The number of bytes written is either the whole input stream when
|
||||||
`nbytes` for `nbytes > 0`. If the input stream contains less than `nbytes` of data, an
|
`nbytes == ulong.max`, or exactly `nbytes` for `nbytes < ulong.max`. If the
|
||||||
exception is thrown.
|
input stream contains less than `nbytes` of data, an exception is thrown.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
The actual number of bytes written is returned. If `nbytes` is given
|
The actual number of bytes written is returned. If `nbytes` is given
|
||||||
and not equal to `ulong.max`, íts value will be returned.
|
and not equal to `ulong.max`, íts value will be returned.
|
||||||
*/
|
*/
|
||||||
ulong pipe(InputStream, OutputStream)(InputStream source, OutputStream sink, ulong nbytes)
|
ulong pipe(InputStream, OutputStream)(InputStream source, OutputStream sink, ulong nbytes)
|
||||||
|
|
Loading…
Reference in a new issue