Packer.beginArray

Serializes the arguments as container to buf.

packer.packArray(true, 1);  // -> [true, 1]
packer.packMap("Hi", 100);  // -> ["Hi":100]

In packMap, the number of arguments must be even.

struct Packer(Stream = ubyte[])
alias beginArray = begin!(Format.ARRAY, Format.ARRAY16)

Return Value

self, i.e. for method chaining.

Meta