Handbook
Glossary
bytes<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
bytes<<
( value object -- )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
cuda.ffi
kernel
;
M:
CUuuid
bytes<<
T{
struct-slot-spec
{
name
"bytes"
}
{
offset 0
}
{
class
object
}
{
type
{
char
16
}
}
}
write-struct-slot
;
inline
USING:
accessors
bitstreams
byte-arrays
kernel
slots
slots.private
;
M:
bit-reader
bytes<<
[
dup
byte-array?
[
\
byte-array
bad-slot-value
]
unless
]
dip
2
set-slot
;
inline
USING:
accessors
bitstreams
byte-vectors
kernel
slots
slots.private
;
M:
bit-writer
bytes<<
[
dup
byte-vector?
[
\
byte-vector
bad-slot-value
]
unless
]
dip
2
set-slot
;
inline
USING:
accessors
byte-vectors
checksums
kernel
slots
slots.private
;
M:
checksum-state
bytes<<
[
dup
byte-vector?
[
\
byte-vector
bad-slot-value
]
unless
]
dip
5
set-slot
;
inline
USING:
accessors
git
slots.private
;
M:
insert
bytes<<
2
set-slot
;
inline
USING:
accessors
midi
slots.private
;
M:
midi-chunk
bytes<<
3
set-slot
;
inline
USING:
accessors
mime.multipart
slots.private
;
M:
multipart
bytes<<
7
set-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
ogg
;
M:
ogg-packet
bytes<<
T{
struct-slot-spec
{
name
"bytes"
}
{
offset 8
}
{
class
integer
}
{
initial 0
}
{
type
long
}
}
write-struct-slot
;
inline
USING:
accessors
midi
slots.private
;
M:
sysex-event
bytes<<
4
set-slot
;
inline