25.156. pack("format",v1,v2,...,vn)

[<<<] [>>>]

Pack list of arguments into a binary string.

The format strings can contain the packing control literals. Each of these characters optionally take the next argument and convert to the specific binary string format. The result is the concatenated sum of these strings.

Some control characters do not take argument, but result a constant string by their own.

See also UNPACK


[<<<] [>>>]