pack
ErrorsCollection

pack

Synthesised documentation from type/Blob

From type/Blob

See Original text in context

This subroutine is considered experimental, in order to use it you will need to do:

use experimental :pack;
multi sub pack(Str $template*@items)
multi sub pack(@template*@items)

Packs the given items according to the template and returns a buffer containing the packed bytes.

The template string consists of zero or more units that begin with an ASCII letter, and are optionally followed by a quantifier. For details, see unpack.