The pack vocabulary implements words for converting between byte buffers and Factor values. It supports reading and writing various numeric formats, and writing null-terminated strings.
The serialized format to convert to and from is defined by a string of characters, one per field, with different characters denoting different field types. In cases where there are different signed and unsigned variants for a type, a lower-case letter denotes a signed field and an upper-case letter an unsigned one; in cases where there is no distinction, either case can be used interchangeably. For example, a format string of "sCCID" denotes a format consisting of a signed 16-bit integer, followed by two unsigned 8-bit integers, one unsigned 32-bit integer, and one double-precision floating point value.