Previous: , Up: iklib bytevectors   [Index]


6.26.6 Generic bytevector operations

The following bindings are exported by the library (vicare).

Function: bytevector-empty? bytevector

Return #t if the bytevector bytevector has zero length, otherwise return #f.

Function: bytevector-append bytevector ...

Concatenate the bytevector arguments and return the result. If no arguments are given: return the empty bytevector.

Function: bytevector-concatenate bvs

Concatenate the list of bytevectors bvs and return the resulting bytevector. It is an error if the sum of the bytevector lengths is not in the range of the maximum bytevector length.

Function: bytevector-reverse-and-concatenate bvs

Reverse the list of bytevectors bvs, concatenate them and return the resulting bytevector. It is an error if the sum of the bytevector lengths is not in the range of the maximum bytevector length.