Forum Navigation
serialize a struct
Posted: 07/26/07 16:40:07I was reading through the docs to find out how to serialize a struct:
struct Wombat {
void read (IReader input) {...} void write (IWriter output) {...}
}
Wombat wombat;
output (&wombat.write); input (&wombat.read);
I came accross this... but I'm still not sure what i should write in the functions read/write (I'm new to D too)
Cheers for any help ;)
Raedwulf