bytevector - create a bytevector from bytes
(import (scheme base)) ;R7RS
(bytevector byte ...)
Returns a newly allocated bytevector containing its arguments.
Returns a single bytevector object.
(bytevector 1 3 5 1 3 5) => #u8(1 3 5 1 3 5)
(bytevector) => #u8()
This procedure is absent from R6RS. Use
It is an error if one of the arguments is not an exact integer
object in the range from 0 to 255 inclusive.
Implementations may signal an error, extend the procedure's
domain of definition to include such arguments,
or fail catastrophically.
This procedure first appeared in R7RS.
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.