Handbook
Glossary
read-packed-native ( str -- seq )
Packing and Unpacking Binary Data
Prev:
unpack-le ( bytes str -- seq )
Next:
read-packed-be ( 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 to have native byte order.
Definition
IN:
pack
:
read-packed-native
( str -- seq )
[
unpack-native
]
read-packed
;
inline