fs2.io
Type members
Classlikes
A facade for Node.js stream.Readable
. Cast to/from your own bindings.
A facade for Node.js stream.Readable
. Cast to/from your own bindings.
- See also
Value members
Concrete methods
Reads all bytes from the specified InputStream
with a buffer size of chunkSize
.
Set closeAfterUse
to false if the InputStream
should not be closed after use.
Reads all bytes from the specified InputStream
with a buffer size of chunkSize
.
Set closeAfterUse
to false if the InputStream
should not be closed after use.
Stream of bytes read asynchronously from standard input.
Stream of bytes read asynchronously from standard input.
Stream of String
read asynchronously from standard input decoded in UTF-8.
Stream of String
read asynchronously from standard input decoded in UTF-8.
Pipe of bytes that writes emitted values to standard output asynchronously.
Pipe of bytes that writes emitted values to standard output asynchronously.
Writes this stream to standard output asynchronously, converting each element to
a sequence of bytes via Show
and the given Charset
.
Writes this stream to standard output asynchronously, converting each element to
a sequence of bytes via Show
and the given Charset
.
Each write operation is performed on the supplied execution context. Writes are blocking so the execution context should be configured appropriately.
Reads all bytes from the specified InputStream
with a buffer size of chunkSize
.
Set closeAfterUse
to false if the InputStream
should not be closed after use.
Reads all bytes from the specified InputStream
with a buffer size of chunkSize
.
Set closeAfterUse
to false if the InputStream
should not be closed after use.
Recycles an underlying input buffer for performance. It is safe to call
this as long as whatever consumes this Stream
does not store the Chunk
returned or pipe it to a combinator that does (e.g. buffer
). Use
readInputStream
for a safe version.
Writes all bytes to the specified OutputStream
. Set closeAfterUse
to false if
the OutputStream
should not be closed after use.
Writes all bytes to the specified OutputStream
. Set closeAfterUse
to false if
the OutputStream
should not be closed after use.
Each write operation is performed on the supplied execution context. Writes are blocking so the execution context should be configured appropriately.