RAD Studio VCL Reference
|
Replaces the memory buffer associated with the memory stream.
procedure SetPointer(Ptr: Pointer; Size: Longint);
__fastcall SetPointer(void * Ptr, Longint Size);
Use SetPointer to set the internal memory buffer, Memory, to be the value passed in by Ptr. Size is the number of bytes Ptr points to.
Descendants of TCustomMemoryStream should use SetPointer to associate the memory stream with the memory buffer that holds the data for the memory stream.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|