Packages

o

fs2

text

object text

Provides utilities for working with streams of text (e.g., encoding byte streams to strings).

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

Type Members

  1. class LineTooLongException extends RuntimeException

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def char2string[F[_]]: Pipe[F, Char, String]

    Transforms a stream of Char to a stream of String.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def decodeCWithCharset[F[_]](charset: Charset)(implicit arg0: RaiseThrowable[F]): Pipe[F, Chunk[Byte], String]
  8. def decodeWithCharset[F[_]](charset: Charset)(implicit arg0: RaiseThrowable[F]): Pipe[F, Byte, String]
  9. def encode[F[_]](charset: Charset): Pipe[F, String, Byte]

    Encodes a stream of String in to a stream of bytes using the given charset.

  10. def encodeC[F[_]](charset: Charset): Pipe[F, String, Chunk[Byte]]

    Encodes a stream of String in to a stream of Chunk[Byte] using the given charset.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def lines[F[_]]: Pipe[F, String, String]

    Transforms a stream of String such that each emitted String is a line from the input.

  17. def linesLimited[F[_]](maxLineLength: Int)(implicit arg0: RaiseThrowable[F]): Pipe[F, String, String]

    Transforms a stream of String such that each emitted String is a line from the input

    Transforms a stream of String such that each emitted String is a line from the input

    maxLineLength

    maximum size to accumulate a line to; throw an error if a line is larger

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. def string2char[F[_]]: Pipe[F, String, Char]

    Transforms a stream of String to a stream of Char.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. object base64

    Functions for working with base 64.

  28. object bom

    Byte order mark (BOM) values for different Unicode charsets.

  29. object hex

    Functions for working with base 64.

  30. object utf8

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def utf8Decode[F[_]]: Pipe[F, Byte, String]

    Converts UTF-8 encoded byte stream to a stream of String.

    Converts UTF-8 encoded byte stream to a stream of String.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) Use text.utf8.decode

  3. def utf8DecodeC[F[_]]: Pipe[F, Chunk[Byte], String]

    Converts UTF-8 encoded Chunk[Byte] inputs to String.

    Converts UTF-8 encoded Chunk[Byte] inputs to String.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) Use text.utf8.decodeC

  4. def utf8Encode[F[_]]: Pipe[F, String, Byte]

    Encodes a stream of String in to a stream of bytes using the UTF-8 charset.

    Encodes a stream of String in to a stream of bytes using the UTF-8 charset.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) Use text.utf8.encode

  5. def utf8EncodeC[F[_]]: Pipe[F, String, Chunk[Byte]]

    Encodes a stream of String in to a stream of Chunk[Byte] using the UTF-8 charset.

    Encodes a stream of String in to a stream of Chunk[Byte] using the UTF-8 charset.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) Use text.utf8.encodeC

Inherited from AnyRef

Inherited from Any

Ungrouped