Next: , Up: built-in bytevectors   [Contents][Index]


6.18.1 The <bytevector> type

Core Type: <bytevector>
Parent Type: <top>

Type of bytevector objects.

Constructor on <bytevector>: <bytevector> type-constructor {len <non-negative-fixnum>}
Constructor on <bytevector>: <bytevector> type-constructor {len <non-negative-fixnum>} {fill <fixnum>}

The constructor is make-bytevector.

Type predicate on <bytevector>: <boolean> type-predicate obj

The type predicate is bytevector?.

Equality predicate on <bytevector>: <boolean> equality-predicate this {bv <bytevector>}

The equality predicate is bytevector=?.

Hash function on <bytevector>: <non-negative-fixnum> hash-function this

The hash function is bytevector-hash.

Methods

Method on <bytevector>: <non-negative-fixnum> length this

Apply bytevector-length to the instance and return its return value.

Method on <bytevector>: = this {bv <bytevector>} …
Method on <bytevector>: != this {bv <bytevector>} …

Apply bytevector=?, bytevector!=? to the instance and the arguments and return its return value.

Method on <bytevector>: <bytevector> append this {bv <bytevector>} …

Apply bytevector-append to the arguments and return its return value.

Method on <bytevector>: <bytevector> copy this

Apply bytevector-copy to the instance and return its return value.

Method on <bytevector>: () copy! this {src-start <non-negative-fixnum>} {dst <bytevector>} {dst-start <non-negative-fixnum>} {k <non-negative-fixnum>}

Apply bytevector-copy! to the arguments and return its return value.

Method on <bytevector>: () fill! this {fill <fixnum>}

Apply bytevector-fill! to the arguments and return its return value.