32TStringLong::TStringLong() :
TString()
53TStringLong::TStringLong(
const char* cs) :
TString(cs)
67TStringLong::TStringLong(
char c) :
TString(
c)
88TStringLong::~TStringLong()
95void TStringLong::FillBuffer(
char *&buffer)
const
97 Int_t nchars = Length();
98 tobuf(buffer, nchars);
99 const char *data = GetPointer();
100 for (
Int_t i = 0; i < nchars; i++) buffer[i] = data[i];
107void TStringLong::ReadBuffer(
char *&buffer)
117 for (
Int_t i = 0; i < nchars; i++)
frombuf(buffer, &data[i]);
123Int_t TStringLong::Sizeof()
const
125 return Length()+
sizeof(
Int_t);
131void TStringLong::Streamer(
TBuffer &
b)
136 Ssiz_t nwr = Clobber(nwh);
137 char *data = GetPointer();
140 for (
Ssiz_t i = 0; i < nwr; i++) b >> data[i];
144 const char *data = GetPointer();
145 for (
int i = 0; i < nwh; i++)
b << data[i];
void frombuf(char *&buf, Bool_t *x)
void tobuf(char *&buf, Bool_t x)
int Int_t
Signed integer 4 bytes (int).
int Ssiz_t
String size (currently int).
Buffer base class used for serializing objects.
A zero length substring is legal.
void Init(TClassEdit::TInterpreterLookupHelper *helper)