bytevector-u8-set!
-- r7rs
Definition mutator!
;
bytevector-u8-set!
(from vonuvoli
);Procedure variants:
((bytevector-not-empty range-offset byte) -> (undefined))
bytevector-not-empty
;range-offset
;byte
;undefined
;scheme:base
-- (scheme base)
;scheme
-- (scheme)
;(bytevector-u8-set! bytevector k byte)
Domain: It is an error if
k
is not a valid index ofbytevector
.Stores
byte
as thek
th byte ofbytevector
.(let ((bv (bytevector 1 2 3 4))) (bytevector-u8-set! bv 1 3) bv) ===> #u8(1 3 3 4)
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.