fs2.io
Provides various ways to work with streams that perform IO.
Type members
Classlikes
A facade for Node.js stream.Duplex. Extend or cast to/from your own bindings.
A facade for Node.js stream.Duplex. Extend or cast to/from your own bindings.
- See also:
- Source:
- NodeStream.scala
A facade for Node.js stream.Readable. Extend or cast to/from your own bindings.
A facade for Node.js stream.Readable. Extend or cast to/from your own bindings.
- See also:
- Source:
- NodeStream.scala
A facade for Node.js stream.Writable. Extend or cast to/from your own bindings.
A facade for Node.js stream.Writable. Extend or cast to/from your own bindings.
- See also:
- Source:
- NodeStream.scala
Types
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.
- Source:
- io.scala
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.
- Source:
- io.scala
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.
- Source:
- io.scala
Inherited methods
Take a function that emits to a Writable effectfully,
and return a stream which, when run, will perform that function and emit
the bytes recorded in the Writable as an fs2.Stream
Take a function that emits to a Writable effectfully,
and return a stream which, when run, will perform that function and emit
the bytes recorded in the Writable as an fs2.Stream
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Pipe of bytes that writes emitted values to standard error asynchronously.
Pipe of bytes that writes emitted values to standard error asynchronously.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Stream of bytes read asynchronously from standard input.
Takes a dummy Int parameter for source-compatibility with JVM.
Stream of bytes read asynchronously from standard input.
Takes a dummy Int parameter for source-compatibility with JVM.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Stream of bytes read asynchronously from standard input.
Stream of bytes read asynchronously from standard input.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Stream of String read asynchronously from standard input decoded in UTF-8.
Takes a dummy Int parameter for source-compatibility with JVM.
Stream of String read asynchronously from standard input decoded in UTF-8.
Takes a dummy Int parameter for source-compatibility with JVM.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Stream of String read asynchronously from standard input decoded in UTF-8.
Stream of String read asynchronously from standard input decoded in UTF-8.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Pipe of bytes that writes emitted values to standard output asynchronously.
Pipe of bytes that writes emitted values to standard output asynchronously.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
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.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Suspends the creation of a Readable and a Stream that reads all bytes from that Readable.
Suspends the creation of a Readable and a Stream that reads all bytes from that Readable.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Take a function that reads and writes from a Duplex effectfully,
and return a pipe which, when run, will perform that function,
write emitted bytes to the duplex, and read emitted bytes from the duplex
Take a function that reads and writes from a Duplex effectfully,
and return a pipe which, when run, will perform that function,
write emitted bytes to the duplex, and read emitted bytes from the duplex
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Pipe that converts a stream of bytes to a stream that will emit a single Readable,
that ends whenever the resulting stream terminates.
Pipe that converts a stream of bytes to a stream that will emit a single Readable,
that ends whenever the resulting stream terminates.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Like toReadable but returns a Resource rather than a single element stream.
Like toReadable but returns a Resource rather than a single element stream.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Writes all bytes to the specified Writable.
Writes all bytes to the specified Writable.
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala
Deprecated and Inherited methods
- Deprecated
- Inherited from:
- ioplatform (hidden)
- Source:
- ioplatform.scala