Welcome! Log In Create A New Profile

Advanced

Reading a structure from a string

Posted by Piet van Zanten 
Piet van Zanten
Reading a structure from a string
August 07, 2008 06:11PM
Hi Forum,

How can I read a structure from a string.
I have a string that contains the binary representation of variables, e.g. a 2 byte int and a 4 byte int. How can I convert the string into the 2 integers? I need something like the * in c++ or the opposite of hconvert.

Best regards,
Piet




Edited 1 time(s). Last edit at 08/07/2008 06:11PM by Piet van Zanten.
Piet van Zanten
Re: Reading a structure from a string [solved]
August 07, 2008 06:38PM
I think transfer will do the job.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: