The byte-vector Module

<byte-vector> Type
Equivalent

limited(<vector>, of: <byte>)

See also

<byte> Type
Equivalent

limited(<integer>, min: 0, max: 255)

byte-storage-address Open Generic function

Returns the address of the raw byte storage of an object.

Signature

byte-storage-address (the-buffer) => (result-offset)

Parameters
  • the-buffer – An instance of <object>.

Values
See also

byte-storage-address(<byte-string>) Sealed Method

Returns the address of the raw byte storage of a <byte-string>.

See also

byte-storage-address(<byte-vector>) Sealed Method

Returns the address of the raw byte storage of a <byte-vector>.

See also

byte-storage-offset-address Open Generic function

Returns the address of the raw byte storage of an object, with an offset.

Signature

byte-storage-offset-address (the-buffer data-offset) => (result-offset)

Parameters
Values
See also

byte-storage-offset-address(<byte-string>) Sealed Method

Returns the address of the raw byte storage of a <byte-string>, with an offset.

See also

byte-storage-offset-address(<byte-vector>) Sealed Method

Returns the address of the raw byte storage of a <byte-vector>, with an offset.

See also

byte-vector-fill Generic function
Signature

byte-vector-fill (target value) => (#rest results)

Parameters
Values
  • #rest results – An instance of <object>.

byte-vector-fill(<byte-vector>, <integer>) Sealed Method
byte-vector-fill(<byte-vector>, <byte-character>) Sealed Method
byte-vector-ref Function
Signature

byte-vector-ref (byte-vector index) => (#rest results)

Parameters
Values
  • #rest results – An instance of <object>.

byte-vector-ref-setter Function
Signature

byte-vector-ref-setter (value byte-vector index) => (#rest results)

Parameters
Values
  • #rest results – An instance of <object>.

copy-bytes Open Generic function
Signature

copy-bytes (dst dst-start src src-start n) => ()

Parameters
copy-bytes(<sequence>, <integer>, <sequence>, <integer>, <integer>) Open Method
copy-bytes(<vector>, <integer>, <vector>, <integer>, <integer>) Open Method
copy-bytes(<string>, <integer>, <string>, <integer>, <integer>) Open Method
copy-bytes(<string>, <integer>, <vector>, <integer>, <integer>) Open Method
copy-bytes(<vector>, <integer>, <string>, <integer>, <integer>) Open Method
copy-bytes(<byte-vector>, <integer>, <byte-vector>, <integer>, <integer>) Sealed Method
copy-bytes(<byte-string>, <integer>, <byte-vector>, <integer>, <integer>) Sealed Method
copy-bytes(<byte-vector>, <integer>, <byte-string>, <integer>, <integer>) Sealed Method
copy-bytes(<byte-string>, <integer>, <byte-string>, <integer>, <integer>) Sealed Method
copy-bytes(<byte-vector>, <integer>, <simple-object-vector>, <integer>, <integer>) Sealed Method
copy-bytes(<simple-object-vector>, <integer>, <byte-vector>, <integer>, <integer>) Sealed Method
hexstring(<byte-vector>) Sealed Method

Returns a string of lowercase hexadecimal digits representing the data.

Signature

hexstring (data) => (result)

Parameters
Values
See also

from-hexstring(<byte-string>) Sealed Method

Returns a <byte-vector> containing data interpreted as a hexadecimal representation of a series bytes.

Signature

from-hexstring (string) => (result)

Parameters
Values
  • result – An instance of <vector>.

See also