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

Prev:re-encode ( stream encoding -- newstream )
Next:with-encoded-output ( encoding quot -- )


Vocabulary
io.encodings

Inputs
streama stream
encodingan encoding descriptor


Outputs
newstreama new stream


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

See also
re-encode

Definition

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


Methods