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

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 base64Decode[F[_]](alphabet: Base64Alphabet)(implicit arg0: RaiseThrowable[F]): Pipe[F, String, Byte]

    Like base64Decode but takes a base 64 alphabet.

    Like base64Decode but takes a base 64 alphabet. For example, base64Decode(Bases.Alphabets.Base64Url) will decode URL compatible base 64.

  6. def base64Decode[F[_]](implicit arg0: RaiseThrowable[F]): Pipe[F, String, Byte]

    Converts a stream of base 64 text in to a stream of bytes.

    Converts a stream of base 64 text in to a stream of bytes.

    If the text is not valid base 64, the pipe fails with an exception. Padding characters at the end of the input stream are optional, but if present, must be valid per the base 64 specification. Whitespace characters are ignored.

    The default base 64 alphabet is used by this pipe.

  7. def base64Encode[F[_]](alphabet: Base64Alphabet): Pipe[F, Byte, String]

    Like base64Encode but takes a base 64 alphabet.

    Like base64Encode but takes a base 64 alphabet. For example, base64Encode(Bases.Alphabets.Base64Url) will encode URL compatible base 64.

  8. def base64Encode[F[_]]: Pipe[F, Byte, String]

    Encodes a byte stream in to a stream of base 64 text.

    Encodes a byte stream in to a stream of base 64 text. The default base 64 alphabet is used by this pipe.

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def encode[F[_]](charset: Charset): Pipe[F, String, Byte]

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

  11. 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.

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

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

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def utf8Decode[F[_]]: Pipe[F, Byte, String]

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

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

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

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

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

  26. 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.

  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped