Function CSPBuffer::Copy()

Description:
Copies the content of a buffer to this one.

Prototype:
void Copy(const CSPBuffer& Buffer);

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



Return value:
No return value (void).

Remarks:
Any data contained in this object will be discarded and the buffer will be resized appropriately to fit the copied data.

Examples:
CSPBuffer Buf1, Buf2;
...
Buf1.Copy( Buf2 );

See also:
member function operator = (), Add(), Attach()
CSPBuffer | Basic classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd