99 tobuf(buffer, nchars);
101 for (
Int_t i = 0; i < nchars; i++) buffer[i] = data[i];
116 char *data =
Init(nchars, nchars);
118 for (
Int_t i = 0; i < nchars; i++)
frombuf(buffer, &data[i]);
132void TStringLong::Streamer(
TBuffer &
b)
141 for (
int i = 0; i < nwh; i++) b >> data[i];
146 for (
int i = 0; i < nwh; i++)
b << data[i];
void frombuf(char *&buf, Bool_t *x)
void tobuf(char *&buf, Bool_t x)
Buffer base class used for serializing objects.
virtual ~TStringLong()
destructor
virtual void FillBuffer(char *&buffer) const
Fill buffer.
virtual void ReadBuffer(char *&buffer)
Read this string from the buffer.
virtual Int_t Sizeof() const
Return the sizeof the string.
char * Init(Ssiz_t capacity, Ssiz_t nchar)
Private member function returning an empty string representation of size capacity and containing ncha...
void Clobber(Ssiz_t nc)
Clear string and make sure it has a capacity of nc.
A zero length substring is legal.
static constexpr double s