Sequence Decode
std/text/encoding::Decode
Parameters
↳ var encoding: string = "utf-8"
Inputs
⇥ data: Stream<byte>
Outputs
↦ text: Stream<string>
Decodes a stream of bytes into string.
The incoming stream of bytes is decoded using the specified encoding.
If some characters cannot be decoded for some reason (i.e. invalid according to encoding),
it is replaced by the Unicode Replacement Character (�
).
The supported encodings and possible values for encoding
are defined in
the Encoding Standard.