Next: bytevectors 8 case, Previous: bytevectors 8 compar, Up: bytevectors 8 [Index]
Build and return a newly–allocated bytevector mapping proc over all the bytes of the bytevector arguments, from zero to the end in increasing order. It is an error if the bytevectorss have different length.
proc must return an exact integer representing a byte and it is applied to the elements as:
(proc idx (bytevector-u8-ref bv0 idx) (bytevector-u8-ref bv idx) ...)
where idx is the current index.
Mutate bytevector bv0 mapping proc over all the elements of the bytevector arguments, from zero to the end in increasing order.
bytevector-u8-map!
must be applied to bytevectorss of the same
length; bytevector-u8-map*!
accepts bytevectorss of different
length and iterates until the end of the shorter is reached.
proc is applied to the elements as:
(proc idx (bytevector-u8-ref bv0 idx) (bytevector-u8-ref bv idx) ...)
where idx is the current index.
Apply proc over all the elements of the bytevector arguments, from zero to the end in increasing order. This function accepts bytevectorss of different length and iterates until the end of the shorter is reached.
proc is applied to the elements as:
(proc idx (bytevector-u8-ref bv0 idx) (bytevector-u8-ref bv idx) ...)
where idx is the current index.
Build and return a new bytevector mapping proc over the bytes in the selected subvector of bv, from index start to index past in increasing order. proc must be a byte–to–byte procedure.
Mutate the selected subvector of bv, mapping proc over its bytes from index start to index past in increasing order. proc must be a byte–to–byte procedure.
Apply proc to each byte in the selected subvector of bv, from index start to index past in increasing order.
Apply proc to each index in the selected subvector of bv, from index start to index past in increasing order. This is simply a method of looping over a bytevector that is guaranteed to be safe and correct.
Next: bytevectors 8 case, Previous: bytevectors 8 compar, Up: bytevectors 8 [Index]