98 tobuf(buffer, nchars);
100 for (
Int_t i = 0; i < nchars; i++) buffer[i] = data[i];
117 for (
Int_t i = 0; i < nchars; i++)
frombuf(buffer, &data[i]);
131 void TStringLong::Streamer(
TBuffer &
b)
140 for (
int i = 0; i < nwh; i++) b >> data[i];
145 for (
int i = 0; i < nwh; i++) b << data[i];
A zero length substring is legal.
void frombuf(char *&buf, Bool_t *x)
virtual Int_t Sizeof() const
Return the sizeof the string.
ATTENTION: this class is obsolete.
Buffer base class used for serializing objects.
virtual void ReadBuffer(char *&buffer)
Read this string from the buffer.
char * Init(Ssiz_t capacity, Ssiz_t nchar)
Private member function returning an empty string representation of size capacity and containing ncha...
void tobuf(char *&buf, Bool_t x)
void Clobber(Ssiz_t nc)
Clear string and make sure it has a capacity of nc.
virtual void FillBuffer(char *&buffer) const
Fill buffer.
virtual ~TStringLong()
destructor
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b