Function CSPBuffer::Copy()
Description:
Copies data to the buffer.
 |
Prototype:
void Copy(const unsigned char* pData, unsigned long ulSize);
Arguments:
- const unsigned char* pData [IN]
The pointer to the data to be copied.
- unsigned long ulSize [IN]
The size of the data, in bytes, to be copied.
Return value:
No return value (void).
Remarks:
Use this function with caution, since an improper pointer or improper size may be fatal. Any data contained in this object will be discarded and the buffer will be resized appropriately to fit the copied data.
See also:
member functions Copy(), operator = ()
|
|