This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Source for wiki BlobIoShinn version 1

author

cowan

comment

Moved from PortsShinn

ipnr

74.68.112.189

name

BlobIoShinn

readonly

0

text

To work with mixed binary/textual I/O, the following R6RS-compatible
procedures are proposed:

  * (read-blob <length> [<input-port>])
  * (read-blob! <blob> <length> [<input-port>])
  * (write-blob <blob> [<output-port>])
  * (utf8->string <blob>)
  * (string->utf8 <string>)

The `utf8->string` procedure converts invalid bytes into U+FFFD characters.

time

2011-06-29 01:45:42

version

1