Next: iklib bytevectors sub, Previous: iklib bytevectors conversion, Up: iklib bytevectors [Index]
Return #t
if obj is valid as bytevector length: it is a
non–negative fixnum; otherwise return #f
.
Return #t
if obj is a Scheme object valid as bytevector
index: it is a non–negative fixnum; otherwise return #f
. Before
being used, obj needs further validation against a specific
bytevector and word size.
Return #t
if obj is valid as word size to be accessed in a
bytevector; otherwise return #f
. obj must be further
validated for a specific bytevector word start offset.
Return #t
if obj is valid as word count for bytevector items,
either a byte count, 16-bit words count, 32-bit words count, …;
otherwise return #f
. obj must be further validated for the
specific bytevector and word size with which it is to be used.
Return #t
if: bv is a bytevector, idx is a
non–negative fixnum, word-size-in-bytes is a non–negative
fixnum, idx is a valid index in bv to reference a word whose
size is word-size-in-bytes; otherwise return #f
. This
validation is for getter and setter indexes.
Specialised variants of bytevector-index-for-word?
for a specific
word size in bits.
Return #t
if: bv is a bytevector, idx is a
non–negative fixnum, count is a non–negative fixnum,
word-size-in-bytes is a non–negative fixnum, idx is a valid
index in bv to reference count words whose size is
word-size-in-bytes; otherwise return #f
. Notice that if
count is zero: it is fine for idx to be equal to the length
of bv. This validation is for getter and setter indexes.
Specialised variants of
bytevector-start-index-and-count-for-word?
for a specific word
size in bits.
Next: iklib bytevectors sub, Previous: iklib bytevectors conversion, Up: iklib bytevectors [Index]