fs2-core
fs2-core
fs2
fs2.compat
fs2.concurrent
fs2.internal
fs2-core
/
fs2
/
text
text
object
text
Provides utilities for working with streams of text (e.g., encoding byte streams to strings).
Graph
Super types
class
Object
trait
Matchable
class
Any
Type members
Value members
Type members
Classlikes
object
base64
Functions for working with base 64.
Value members
Methods
def
utf8Decode
[F <: ([_$1] =>>
Any
)]: (
F
,
Byte
) =>
String
Converts UTF-8 encoded byte stream to a stream of
String
.
def
utf8DecodeC
[F <: ([_$3] =>>
Any
)]: (
F
,
Chunk
[
Byte
]) =>
String
Converts UTF-8 encoded
Chunk[Byte]
inputs to
String
.
def
encode
[F <: ([_$4] =>>
Any
)](charset:
Charset
): (
F
,
String
) =>
Byte
Encodes a stream of
String
in to a stream of bytes using the given charset.
def
encodeC
[F <: ([_$6] =>>
Any
)](charset:
Charset
): (
F
,
String
) =>
Chunk
[
Byte
]
Encodes a stream of
String
in to a stream of
Chunk[Byte]
using the given charset.
def
utf8Encode
[F <: ([_$9] =>>
Any
)]: (
F
,
String
) =>
Byte
Encodes a stream of
String
in to a stream of bytes using the UTF-8 charset.
def
utf8EncodeC
[F <: ([_$10] =>>
Any
)]: (
F
,
String
) =>
Chunk
[
Byte
]
Encodes a stream of
String
in to a stream of
Chunk[Byte]
using the UTF-8 charset.
def
lines
[F <: ([_$11] =>>
Any
)]: (
F
,
String
) =>
String
Transforms a stream of
String
such that each emitted
String
is a line from the input.