[zeromq-dev] Alignment of message.raw_data()
Michi Henning
michi at triodia.com
Sun Sep 8 09:23:25 CEST 2013
Thanks for that Jon,
I'll have a look!
Michi.
On 06/09/2013, at 18:24 , Jon Dyte <jon at totient.co.uk> wrote:
> Hi Michi
>
> I'm not aware of any way at present to force the alignment of the buffer.
> There's also a secondary issue that for OMQ very small messages the buffer data is actually just bytes directly within the msg structure where the alignment would probably not hold either.
>
> zmq::msg_t::init_size is the first place to look, if you were to consider a patch. ;-)
>
> Jon
More information about the zeromq-dev
mailing list