SRFI 186: Transcoders and transcoded ports

by John Cowan

Based on R6RS.

status: withdrawn (2020-09-08)

keywords: I/O, Superseded

See also SRFI 80: Stream I/O, SRFI 81: Port I/O, and SRFI 181: Custom ports (including transcoded ports).

Abstract

This is an extract from the R6RS that documents its support for transcoders and transcoded ports. These provide a hook into the Scheme port system from below, allowing the creation of textual ports that provide non-default encoding and decoding from arbitrary binary ports. It has been lightly edited to fit R7RS style.