Combine values into a raw vector according to the values in
A string, see 'Details'
Values/objects to be packed into a raw vector
template values are:
'a' - A null padded string
'A' - A space padded string
'b' - An ascending bit order binary vector, (must be a multiple of 8 long)
'B' - An descending bit order binary vector, (must be a multiple of 8 long)
'C' - An unsigned char (8-bit byte/octet) value
'v' - An unsigned short (16-bit) in "VAX" (little-endian) order
'V' - An unsigned long (32-bit) in "VAX" (little-endian) order
'x' - A null byte
Both 'a' and 'A' may be followed by a repeat value. A repeat value of '*' will cause the remainder of the bytes in
values to be placed in
the last element.
'/' allows packing and unpacking of a sequence of values where the packed structure contains a packed item count followed by the packed items themselves.
template requires more arguments to
pack than actually given,
pack pads with null bytes. If
template requires fewer
pack than actually given, extra arguments are ignored.
A raw vector following the elements in
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.