Packages

p

fs2

io

package io

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. io
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def readInputStream[F[_]](fis: F[InputStream], chunkSize: Int, closeAfterUse: Boolean = true)(implicit arg0: Suspendable[F]): Stream[F, Byte]

    Reads all bytes from the specified InputStream with a buffer size of chunkSize.

    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.

    Blocks the current thread.

  2. def readInputStreamAsync[F[_]](fis: F[InputStream], chunkSize: Int, closeAfterUse: Boolean = true)(implicit F: Async[F]): Stream[F, Byte]

    Reads all bytes from the specified InputStream with a buffer size of chunkSize.

    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.

    This will block a thread in the current Async instance, so the size of any associated threadpool should be sized appropriately.

  3. def stdin[F[_]](bufSize: Int)(implicit F: Suspendable[F]): Stream[F, Byte]
  4. def stdinAsync[F[_]](bufSize: Int)(implicit F: Async[F]): Stream[F, Byte]
  5. def stdout[F[_]](implicit F: Suspendable[F]): Sink[F, Byte]
  6. def stdoutAsync[F[_]](implicit F: Async[F]): Sink[F, Byte]
  7. def writeOutputStream[F[_]](fos: F[OutputStream], closeAfterUse: Boolean = true)(implicit arg0: Suspendable[F]): Sink[F, Byte]

    Writes all bytes to the specified OutputStream.

    Writes all bytes to the specified OutputStream. Set closeAfterUse to false if the OutputStream should not be closed after use.

    Blocks the current thread.

  8. def writeOutputStreamAsync[F[_]](fos: F[OutputStream], closeAfterUse: Boolean = true)(implicit F: Async[F]): Sink[F, Byte]

    Writes all bytes to the specified OutputStream.

    Writes all bytes to the specified OutputStream. Set closeAfterUse to false if the OutputStream should not be closed after use.

    This will block a thread in the current Async instance, so the size of any associated threadpool should be sized appropriately.

Inherited from AnyRef

Inherited from Any

Ungrouped