Constructs a packer with stream.
Constructs a packer with withFieldName.
Serializes the type-information to stream.
Serializes argument and writes to stream.
Overload for pack(null) for 2.057 or later
Serializes object and writes to stream.
Packs data as an extended value of type.
Serializes the arguments as container to stream.
Packs data as an extended value of type.
Serializes the arguments as container to stream.
Forwards to stream.
auto packer = packer(Appender!(ubyte[])()); packer.packArray(false, 100, 1e-10, null); stdout.rawWrite(packer.stream.data);
NOTE: Current implementation can't deal with a circular reference. If you try to serialize a object that has circular reference, runtime raises 'Stack Overflow'.
Packer is a MessagePack serializer