Handbook
Glossary
read-footer ( -- footer-offset footer.32/footer.64/f )
Vocabulary
tools
.
image
Inputs
None
Outputs
footer-offset
an
integer
footer.32/footer.64/f
an
embedded-image-footer
Word description
Read footer if it exists, return f otherwise
Definition
USING:
classes.struct
kernel
math
;
IN:
tools.image
:
read-footer
( -- footer-offset footer.32/footer.64/f )
read-union-footer
valid-image-footer?
[
embedded-image-footer.union
struct-size
+
f
]
unless*
;