Sequence Encode

std/text/encoding::Encode


Parameters

↳ var encoding: string = "utf-8"

Inputs

text: Stream<string>

Outputs

↦ data: Stream<byte>


Encodes a streamed string into bytes.

The incoming string is encoded and outputted into raw bytes. If some characters cannot be encoded into the specified encoding, it is turned into coded XML character ("&#65533;").

The supported encodings and possible values for encoding are defined in the Encoding Standard.