Re: [ROOT] TBuffer and serialization

From: Ashley Cambrell (ash@freaky-namuh.com)
Date: Thu Apr 25 2002 - 17:49:00 MEST


Hi Fons,

Fons Rademakers wrote:

>Hi Ashley,
>
>  the buffer pointed at by "my" is not a printable character string but
>a binary string of given length. Cout char* stops printing at the first
>'\0' and "my" may contain many 0's. You should write this buffer as a
>binary file. But better is to use ROOT files to save session state.
>  
>
Aaah excellent.  Now I understand.  I though it might serialize it to
simple strings and not binary.  

Thanks Fons

>Cheers, Fons.
>
>  
>
Ashley Cambrell



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:51 MET