Handbook
Glossary
byte-sequence? ( object -- ? )
Vocabulary
byte-arrays
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
byte-sequence
class.
Definition
USING:
byte-vectors
classes.tuple.private
kernel
kernel.private
slots.private
;
IN:
byte-arrays
:
byte-sequence?
( object -- ? )
dup
tag
9
eq?
[
drop
t
]
[
dup
tuple?
[
layout-of
7
slot
\
byte-vector
eq?
]
[
drop
f
]
if
]
if
;