Function CSPBuffer::Attach()

Description:
Attaches data from another buffer to this buffer.

Prototype:
void Attach(const CSPBuffer& Buffer);

Arguments:
  • const CSPBuffer& Buffer [IN]
    The buffer with the data to be attached.



Return value:
No return value (void).

Remarks:
Any data contained by this object is discarded. Also, this object takes ownership of the memory in Buffer, emptying the latter. This is the fastest way to copy data between two CSPBuffer objects.

See also:
member functions Copy(), Add()
CSPBuffer | Basic classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd