Handbook
Glossary
read-packed-be ( str -- seq )
Packing and Unpacking Binary Data
Prev:
read-packed-native ( str -- seq )
Next:
read-packed-le ( str -- seq )
Vocabulary
pack
Inputs
str
a format string
Outputs
seq
a sequence of field values
Word description
Reads packed data from
input-stream
according to the field formats described by
str
and outputs a sequence containing the unpacked values. Packed data is assumed be big-endian.
Definition
IN:
pack
:
read-packed-be
( str -- seq )
[
unpack-be
]
read-packed
;
inline