<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>24 Jul 2015 09:53:04 Z</lastBuildDate><pubDate>23 Jul 2015 16:20:43 Z</pubDate><description>I need to copy the buffer (which I receive from a socket) to a structure (all the messages are of the same type - identical structutre)&#13;
I need this to minimize the decoding work - copying the individual fields.&#13;
The strucutre contains lots of fields.&#13;
&#13;
-&gt; buf contains the message&#13;
-&gt; myStruct is the variable of type structure (contains several fields)</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure/read.awp</link><title>How to copy a buffer into a structure</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>vvido</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure-53230/read.awp</comments><pubDate>24 Jul 2015 09:53:04 Z</pubDate><description>Thanks Fabrice !&#13;
&#13;
This is EXACTLY what I needed.&#13;
Thanks for the warning. I am fully aware that the structures must match.&#13;
I …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure-53230/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure-53230/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure/read.awp">How to copy a buffer into a structure</source><title>Re: How to copy a buffer into a structure</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure-53221/read.awp</comments><pubDate>23 Jul 2015 17:32:34 Z</pubDate><description>Hi&#13;
&#13;
"Transfer" may be what you are looking for, but it means that the &#13;
content of the buffer has to identical to the structur…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure-53221/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure-53221/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53218-how-copy-buffer-into-structure/read.awp">How to copy a buffer into a structure</source><title>Re: How to copy a buffer into a structure</title></item></channel></rss>
