Packages

  • package root
    Definition Classes
    root
  • package fs2
    Definition Classes
    root
  • package io

    Provides various ways to work with streams that perform IO.

    Provides various ways to work with streams that perform IO.

    Definition Classes
    fs2
  • package file

    Provides support for working with files.

  • package net

    Provides support for doing network I/O -- TCP, UDP, and TLS.

  • package process
  • Watcher
  • compression

package io

Provides various ways to work with streams that perform IO.

Source
io.scala
Linear Supertypes
ioplatform, iojvmnative, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. io
  2. ioplatform
  3. iojvmnative
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package file

    Provides support for working with files.

  2. package net

    Provides support for doing network I/O -- TCP, UDP, and TLS.

  3. package process

Type Members

  1. type ClosedChannelException = java.nio.channels.ClosedChannelException
    Definition Classes
    iojvmnative
  2. type IOException = java.io.IOException
  3. type InterruptedIOException = java.io.InterruptedIOException
    Definition Classes
    iojvmnative
  4. sealed abstract class Watcher[F[_]] extends AnyRef

    Allows watching the file system for changes to directories and files by using the platform's WatchService.

Value Members

  1. def readClassLoaderResource[F[_]](name: String, chunkSize: Int = 64 * 1024, classLoader: ClassLoader = getClass().getClassLoader())(implicit F: Sync[F]): Stream[F, Byte]

    Stream of bytes read asynchronously from the specified classloader resource.

    Stream of bytes read asynchronously from the specified classloader resource.

    Definition Classes
    iojvmnative
    See also

    readClassResource for a resource relative to a class.

  2. def readClassResource[F[_], C](name: String, chunkSize: Int = 64 * 1024)(implicit F: Sync[F], ct: ClassTag[C]): Stream[F, Byte]

    Stream of bytes read asynchronously from the specified resource relative to the class C.

    Stream of bytes read asynchronously from the specified resource relative to the class C.

    Definition Classes
    iojvmnative
    See also

    readClassLoaderResource for a resource relative to a classloader.

  3. def readInputStream[F[_]](fis: F[InputStream], chunkSize: Int, closeAfterUse: Boolean = true)(implicit F: Sync[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.

  4. def stderr[F[_]](implicit arg0: Async[F], arg1: LiftIO[F]): Pipe[F, Byte, Nothing]

    Pipe of bytes that writes emitted values to standard error asynchronously.

    Pipe of bytes that writes emitted values to standard error asynchronously.

    Definition Classes
    ioplatform
  5. def stdin[F[_]](bufSize: Int)(implicit arg0: Async[F], arg1: LiftIO[F]): Stream[F, Byte]

    Stream of bytes read asynchronously from standard input.

    Stream of bytes read asynchronously from standard input.

    Definition Classes
    ioplatform
  6. def stdinUtf8[F[_]](bufSize: Int)(implicit arg0: Async[F], arg1: LiftIO[F]): Stream[F, String]

    Stream of String read asynchronously from standard input decoded in UTF-8.

    Stream of String read asynchronously from standard input decoded in UTF-8.

    Definition Classes
    ioplatform
  7. def stdout[F[_]](implicit arg0: Async[F], arg1: LiftIO[F]): Pipe[F, Byte, Nothing]

    Pipe of bytes that writes emitted values to standard output asynchronously.

    Pipe of bytes that writes emitted values to standard output asynchronously.

    Definition Classes
    ioplatform
  8. def stdoutLines[F[_], O](charset: Charset = StandardCharsets.UTF_8)(implicit arg0: Async[F], arg1: LiftIO[F], arg2: Show[O]): Pipe[F, O, Nothing]

    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.

    Definition Classes
    ioplatform
  9. def unsafeReadInputStream[F[_]](fis: F[InputStream], chunkSize: Int, closeAfterUse: Boolean = true)(implicit F: Sync[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.

    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.

  10. def writeOutputStream[F[_]](fos: F[OutputStream], closeAfterUse: Boolean = true)(implicit F: Sync[F]): Pipe[F, Byte, Nothing]

    Writes all bytes to the specified OutputStream.

    Writes all bytes to the specified OutputStream. Each chunk is flushed immediately after writing. Set closeAfterUse to false if the OutputStream should not be closed after use.

  11. object Watcher
  12. object compression extends compressionplatform

Deprecated Value Members

  1. def stderr[F[_], SourceBreakingDummy](F: Sync[F]): Pipe[F, Byte, Nothing]
    Definition Classes
    ioplatform
    Annotations
    @deprecated
    Deprecated

    (Since version 3.5.0) Prefer non-blocking, async variant

  2. def stdin[F[_], SourceBreakingDummy](bufSize: Int, F: Sync[F]): Stream[F, Byte]
    Definition Classes
    ioplatform
    Annotations
    @deprecated
    Deprecated

    (Since version 3.5.0) Prefer non-blocking, async variant

  3. def stdinUtf8[F[_], SourceBreakingDummy](bufSize: Int, F: Sync[F]): Stream[F, String]
    Definition Classes
    ioplatform
    Annotations
    @deprecated
    Deprecated

    (Since version 3.5.0) Prefer non-blocking, async variant

  4. def stdout[F[_], SourceBreakingDummy](F: Sync[F]): Pipe[F, Byte, Nothing]
    Definition Classes
    ioplatform
    Annotations
    @deprecated
    Deprecated

    (Since version 3.5.0) Prefer non-blocking, async variant

  5. def stdoutLines[F[_], O, SourceBreakingDummy](charset: Charset, F: Sync[F], O: Show[O]): Pipe[F, O, Nothing]
    Definition Classes
    ioplatform
    Annotations
    @deprecated
    Deprecated

    (Since version 3.5.0) Prefer non-blocking, async variant

Inherited from ioplatform

Inherited from iojvmnative

Inherited from AnyRef

Inherited from Any

Ungrouped