GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Bool_t BufferIO::Expand ( UInt_t  new_size)
virtualinherited

Expand the size of the current buffer.

This method expands the size of the current buffer.
if the real size of the buffer is enough, this method is applied the same way for the inner part or the outer part.

In case the size is too small and a real reallocation is required to expand it is ONLY applied if the current buffer is the inner one.

The argument corresponds to the new-size of the buffer
It returns false if:

  • one try to Expand the outer buffer
  • it fails to expand the buffer (the final size is to high)

Definition at line 162 of file BufferIO.cpp.