Re: std.container.Array support in msgpack
On Saturday, 27 September 2014 at 21:24:14 UTC, Nordlöw wrote: How do I add the leading byte 146? Update: This is achieved by calling stream_.put() which is only allowed in members of PackerImpl.
std.container.Array support in msgpack
I'm trying to figure out how to add raw bytes the packed stream in msgpack-d. My current try is import std.stdio; import std.conv: to; import std.container: Array; import msgpack; static void stringArrayPackHandler(E)(ref Packer p, ref Array!E x) { // p