bytevector->string - transcode a bytevector to a string
(import (rnrs)) ;R6RS
(import (rnrs io ports)) ;R6RS
(bytevector->string bytevector transcoder)
Returns the string that results from transcoding
according to the input direction of
Returns a single value; a string.
(bytevector->string #vu8(81 117 117 120) (native-transcoder))
This procedure is a more general alternative to
This procedure is unique to R6RS.
This procedure can raise exceptions with the following condition types:
- &assertion (R6RS)
The wrong number of arguments was passed or an argument was outside its domain.
- &i/o-decoding (R6RS)
A sequence of bytes was encountered that could not be translated into
a string, and
error-handling-mode is raise.
This procedure first appeared in R6RS as part of the redesigned I/O
This page is part of the
It includes materials from the RnRS documents.
More information can be found at
Markup created by unroff 1.0sc, March 04, 2023.