re-encode ( stream encoding -- newstream )
Factor handbook » Input and output » I/O encodings

Prev:decode-input ( encoding -- )
Next:re-decode ( stream encoding -- newstream )


Vocabulary
io.encodings

Inputs
streama stream
encodingan encoding descriptor


Outputs
newstreama new stream


Word description
Creates a new encoding stream with the supplied encoding descriptor from an existing stream by calling the <encoder> word.

See also
re-decode

Definition

GENERIC#: re-encode 1 ( stream encoding -- newstream )


Methods