GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Bool_t BufferIO::Copy ( const Char_t *  from,
UInt_t  from_size 
)
virtualinherited

copy an external buffer to this.

It works the same way than Link and thus propose a safer method (a external buffer may be deleted or modified during the processing of that one)

As a consequence:

  • switch to inner buffer (in case you don't want this, use Import/Export methods instead)
  • It starts the copy from the beginning in the destination buffer
  • Try to expand if the current size in too small.
  • Offset is set to 0 (beginning of the buffer)

Definition at line 248 of file BufferIO.cpp.