<div dir="ltr"><div class="gmail_quote">
<div>&gt; The &quot;buffer&quot; function does not supports QString, so I wrote my own, is it correct? &quot;utf16()&quot; returns a pointer to a ushort (16 bit values).</div>
<div> </div>
<div> </div>
<div>It should be ok, if you don&#39;t modify (or destroy) the message_ until handle_write() is called.</div>
<div>(BTW, probably it&#39;s better to put such functions in your own namespace, not in the ASIO one.)</div></div></div>