Handbook
Glossary
parse-file-header ( -- file-header )
Vocabulary
images
.
bitmap
Inputs
None
Outputs
file-header
an
object
Definition
USING:
accessors
io
io.encodings.latin1
io.encodings.string
kernel
;
IN:
images.bitmap
:
parse-file-header
( -- file-header )
\
file-header
new
2
read
latin1
decode
>>magic
read4
>>size
read2
>>reserved1
read2
>>reserved2
read4
>>offset
read4
>>header-length
;