Handbook
Glossary
packed-length ( str -- n )
Vocabulary
pack
Inputs
str
a format string
Outputs
n
an
integer
Word description
Computes the packed size, in bytes, of the structure described by the given format string (without actually packing or unpacking any data).
Definition
USING:
sequences
;
IN:
pack
:
packed-length
( str -- n )
[
ch>packed-length
]
map-sum
;