Next: , Previous: , Up: bytevector compounds   [Index]


28.2 Inspecting bytevector compounds

The following bindings are exported by the library (vicare containers bytevector-compounds).

Function: bytevector-compound-empty? bvcom

Return #t if bvcom has no octets in it, else return #f.

Function: bytevector-compound-filled? bvcom

Return #t if bvcom has at least one octet in it, else return #f.

Function: bytevector-compound-length bvcom

Return a non–negative exact integer representing the number of octets currently in bvcom.

Function: bytevector-compound-total-length bvcom

Return a non–negative exact integer representing the number of octets in bvcom, including the ones in the bytevectors that have been already dequeued.

Function: bytevector-compound-data bvcom

Return the list of bytevectors in bvcom. Mutating the return value results in undefined behaviour.