by the way, why are you doing this? if it's for packets you're sending over a network, i suggest you have a "Packet type" portion of the packet. what i mean is like this; the first byte of a packet is the command byte if the command byte is CMD_MOVEOBJECT (assuming that's a constant), then you know after the command byte are an integer with the ID of the object and 3 floats describing the new position of the object in 3d coordinates. if the command byte is CMD_KILLOBJECT, that means there is an integer that is the ID of the object to be killed. if the command byte is CMD_LOGOFF, that means there are no parameters and that the client should close the network connection. does that make sense? ----- Original Message ----- From: "Kevin Jenkins" <gameprogrammer@xxxxxxxxxx> To: <gameprogrammer@xxxxxxxxxxxxx> Sent: Wednesday, July 14, 2004 3:11 PM Subject: [gameprogrammer] va_start va_end inversion > Using va_start and va_end I've encoded a variable set of parameters to a > bytestream. > > I want to invert this. Given a bytestream, I want to get the original set > of parameters. I want to then call a function that takes that set of > parameters. > > How? > > > > --------------------- > To unsubscribe go to http://gameprogrammer.com/mailinglist.html > > --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html