Handbook
Glossary
packet<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
packet<<
( value object -- )
Methods
USING:
accessors
alien
alien.c-types
alien.syntax
classes.struct
classes.struct.private
openssl.libssl
;
M:
SSL
packet<<
T{
struct-slot-spec
{
name
"packet"
}
{
offset 104
}
{
class
c-ptr
}
{
type
pointer:
void
}
}
write-struct-slot
;
inline
USING:
accessors
alien
alien.c-types
alien.syntax
classes.struct
classes.struct.private
ogg
;
M:
ogg-packet
packet<<
T{
struct-slot-spec
{
name
"packet"
}
{
offset 0
}
{
class
c-ptr
}
{
type
pointer:
uchar
}
}
write-struct-slot
;
inline
USING:
accessors
audio.vorbis
kernel
ogg
slots
slots.private
;
M:
vorbis-stream
packet<<
[
dup
ogg-packet?
[
\
ogg-packet
bad-slot-value
]
unless
]
dip
6
set-slot
;
inline