Handbook
Glossary
byte-array
Vocabulary
tools
.
image-analyzer
.
vm
.
64
Definition
USING:
classes.struct
vm
;
IN:
tools.image-analyzer.vm.64
STRUCT:
byte-array
{
header
cell_t
initial:
0
}
{
capacity
cell_t
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
tools.image-analyzer.vm.64
;
M:
byte-array
clone
clone-underlying
\
byte-array
memory>struct
;
inline
USING:
accessors
kernel
math
tools.image-analyzer.data-heap-reader
tools.image-analyzer.vm.64
;
M:
byte-array
read-payload
nip
[
capacity>>
-4
shift
]
keep
read-uchar-payload
;
USING:
accessors
classes.struct
combinators.smart
tools.image-analyzer.vm.64
;
M:
byte-array
struct-slot-values
{
[
header>>
]
[
capacity>>
]
}
cleave>array
;
inline