Next: , Previous: , Up: iklib bytevectors   [Index]


6.26.2 Comparing bytevectors

Function: bytevector!=? bv0 bv

The arguments must be bytevectors. Return #t if the arguments are all different: no two arguments are equal; otherwise return #f. When applied to a single argument: return #f.

Procedure: bytevector-u8<? bv0
Procedure: bytevector-u8>? bv0
Procedure: bytevector-u8<=? bv0
Procedure: bytevector-u8>=? bv0

These procedures are the extensions to bytevectors of the corresponding orderings on unsigned fixnums; the bytevectors are compared octet by octet.

Procedure: bytevector-s8<? bv0
Procedure: bytevector-s8>? bv0
Procedure: bytevector-s8<=? bv0
Procedure: bytevector-s8>=? bv0

These procedures are the extensions to bytevectors of the corresponding orderings on signed fixnums; the bytevectors are compared byte by byte.

Function: bytevector-u8-max bv0 bv
Function: bytevector-u8-min bv0 bv

Return the maximal or minimal bytevector argument according to bytevector-u8<?.

Function: bytevector-s8-max bv0 bv
Function: bytevector-s8-min bv0 bv

Return the maximal or minimal bytevector argument according to bytevector-s8<?.