bytevector-u8-ref
-- r7rs
Definition accessor
;
bytevector-u8-ref
(from vonuvoli
);Procedure variants:
((bytevector-not-empty range-offset) -> (byte))
bytevector-not-empty
;range-offset
;byte
;scheme:base
-- (scheme base)
;scheme
-- (scheme)
;(bytevector-u8-ref bytevector k)
Domain: It is an error if
k
is not a valid index ofbytevector
.Returns the
k
th byte ofbytevector
.(bytevector-u8-ref '#u8(1 1 2 3 5 8 13 21) 5) ===> 8
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.