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

Link an external buffer to this class.

An external buffer is linked to used the services of BufferIO i.e. reading/writing. In case of success, it returns true In case the pointer in NULL, it is not linked and the current buffer is not changed (returns false).

Offset is set to 0 (beginning of the buffer)

Warning
It is the charge of the users to pass the right size of the external buffer!

The linked buffer is not owned by BufferIO, it will NOT be deleted with BufferIO

Definition at line 214 of file BufferIO.cpp.