FlowTextOps
Attributes
Members list
Value members
Concrete methods
Decodes a stream of chunks of bytes into UTF-8 Strings. This function is able to handle UTF-8 characters encoded on multiple bytes that are split across chunks.
Decodes a stream of chunks of bytes into UTF-8 Strings. This function is able to handle UTF-8 characters encoded on multiple bytes that are split across chunks.
Attributes
- Returns
-
a flow of Strings decoded from incoming bytes.
Encodes a flow of String
in to a flow of bytes using UTF-8.
Encodes a flow of String
in to a flow of bytes using UTF-8.
Attributes
Transforms a flow of byte chunks such that each emitted String
is a text line from the input.
Transforms a flow of byte chunks such that each emitted String
is a text line from the input.
Value parameters
- charset
-
the charset to use for decoding the bytes into text.
Attributes
- Returns
-
a flow emitting lines read from the input byte chunks, assuming they represent text.
Transforms a flow of byte chunks such that each emitted String
is a text line from the input decoded using UTF-8 charset.
Transforms a flow of byte chunks such that each emitted String
is a text line from the input decoded using UTF-8 charset.
Attributes
- Returns
-
a flow emitting lines read from the input byte chunks, assuming they represent text.