Next: bytevectors 8 pad, Previous: bytevectors 8 fold, Up: bytevectors 8 [Index]
Build and return a new bytevector holding a copy of the subvector selected in bv.
Wrapper for subbytevector-u8
accepting a bytevector view as
argument.
The function %bytevector-u8-copy*
is an alias for
subbytevector-u8
; the macro bytevector-u8-copy*
is an
alias for subbytevector-u8*
.
These exist for symmetry with the
(vicare containers vectors)
library; they allow more confidence in converting a vector function into a bytevector function, and vice versa, by just replacing the stringvector
in the function names with the stringbytevector-u8
, and vice versa.
Like %bytevector-u8-copy*
, but copy the elements in the reverse
order from the selected subvector.
Write the selected source subvector into the selected destination
subvector. This function is the side–effecting variant of
subbytevector-u8
and subbytevector-u8*
. This function
supports copying over the same bytevector.
The selected destination subvector starts at dst-start in dst-bv and may extend until the end of the bytevector. In the destination bytevector view dst-S: if a past index is specified, it is ignored.
Like %bytevector-u8-copy*!
, but this copies the elements in the reverse
order. This function supports copying over the same bytevector.
Return the first or last nbytes of the selected subvector. These functions always return a newly allocated bytevector.
Drop the first or last nbytes of the selected subvector and return the resulting bytevector. These functions always return a newly allocated bytevector.
Next: bytevectors 8 pad, Previous: bytevectors 8 fold, Up: bytevectors 8 [Index]