Thread
:
Manipulating bits
View Single Post
#
4
30-12-2007, 00:27
EricVanWyk
Registered User
no team
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
Re: Manipulating bits
It looks like you are trying to "serialize" or "marshal" your data. Googling these terms may help.
In C, one nifty trick is to recast your data as strings.
Code:
int n=4; char * s = (char *)&n;
Then, write a function that can push strings across.
EricVanWyk
View Public Profile
Find all posts by EricVanWyk
Find CD-Media Photos by EricVanWyk
Find CD-Media Papers by EricVanWyk