Can I persist a class derived from TObject as a char *?

Is there a way to “stream” a class that derives from TObject into an char * array and write it into a non-root file and then later read that char * array and “stream” it back into the class itself? Thanks
Ed Oltman

Use a TBuffer