Packer.beginMap

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 beginMap = begin!(Format.MAP, Format.MAP16)

Return Value

self, i.e. for method chaining.

Meta