SRFI 186: Transcoders and transcoded ports

by John Cowan

Based on R6RS.

status: final (2020-05-12)

keywords: I/O

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.