text

object text

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

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

class Object
trait Matchable
class Any

Type members

Classlikes

object base64

Functions for working with base 64.

Functions for working with base 64.

Value members

Concrete methods

def encode[F[_]](charset: Charset): (F, String) => Byte

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

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

def encodeC[F[_]](charset: Charset): (F, String) => Chunk[Byte]

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

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

def lines[F[_]]: (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.

def utf8Decode[F[_]]: (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.

def utf8DecodeC[F[_]]: (F, Chunk[Byte]) => String

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

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

def utf8Encode[F[_]]: (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.

def utf8EncodeC[F[_]]: (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.