Handbook
Glossary
read-padded-payload ( count object c-type -- payload )
Vocabulary
tools
.
image-analyzer
.
data-heap-reader
Inputs
count
an
object
object
an
object
c-type
an
object
Outputs
payload
an
object
Definition
USING:
alien.c-types
kernel
math
tools.image-analyzer.utils
;
IN:
tools.image-analyzer.data-heap-reader
::
read-padded-payload
( count object c-type -- payload )
count c-type
heap-size
*
:>
payload-size payload-size
[
c-type
read-bytes>array
]
[
object
seek-past-padding
]
bi
;