[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

02/28/2009 at 11:26AM PST, ID: 24186975 | Points: 500
[x]
Attachment Details

Byte Array to Structure Conversion in C++

Asked by srinivasakella in C / C++ / C# Editors and IDEs, C++ Programming Language

Hi,

I have a Byte array in which , different structures are placed back to back
in contiguously.

Now I need to split this byte array into different structures.
 Right Now I am using "memcpy" for parsing. But I would like to have custom function
for converting this byte array into desired structure.

My idea is split the byte array into different byte arrays according to the size of the structures.
Then converting these byte arrays into corresponding structures using using some custom function .

I need to do this C++.

Thanks,
Srinivas
[+][-]03/01/09 03:29 AM, ID: 23767785

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/01/09 03:29 AM, ID: 23767786

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/01/09 07:53 AM, ID: 23768456

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/01/09 07:55 AM, ID: 23768469

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/01/09 07:56 AM, ID: 23768473

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/05/09 02:23 PM, ID: 23811659

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625