[iostreams] implementing an xdr streams

13 Jan
2006
13 Jan
'06
3:03 p.m.
I've looked at Jack Reeves' XDRStream code from earlier CUJ articles. I've tested his code which seems extract values properly, but has problems with tellg, seekg, ... returning incorrect values and corrupting the stream state. This seems like an ideal application for the iostreams library. JR's implementation is based on an XDR_CHAR 32 bit character type. Any thoughts on whether this is the ideal approach? Any guidance on design directions would be appreciated. Thanks, Jeff
7036
Age (days ago)
7036
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeff Flinn