The byte-vector Module¶
- <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:
result-offset – An instance of
<machine-word>
.
- 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:
result-offset – An instance of
<machine-word>
.
- 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¶
- 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:
byte-vector – An instance of
<byte-vector>
.index – An instance of
<integer>
.
- Values:
#rest results – An instance of
<object>
.
- byte-vector-ref-setter Function¶
- Signature:
byte-vector-ref-setter (value byte-vector index) => (#rest results)
- Parameters:
value – An instance of
<object>
.byte-vector – An instance of
<byte-vector>
.index – An instance of
<integer>
.
- Values:
#rest results – An instance of
<object>
.
- copy-bytes Open Generic function¶
- 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:
data – An instance of
<byte-vector>
.
- Values:
result – An instance of
<byte-string>
.
- 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:
string – An instance of
<byte-string>
.
- Values:
result – An instance of
<vector>
.
- See also: