System.Rtti.TValue.ExtractRawDataNoCopy
Delphi
procedure ExtractRawDataNoCopy(ABuffer: Pointer);
C++
void __fastcall ExtractRawDataNoCopy(void * ABuffer);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Copies the stored value to the given memory address.
Use ExtractRawDataNoCopy when a raw copy of the stored value is required. The ABuffer parameter specifies the address of the memory where the value is copied.
ExtractRawDataNoCopy does not take any special action for managed types, making it unsafe to use for arrays containing strings, for example. Use ExtractRawData for a safe version of this function.
Note: ExtractRawDataNoCopy works only for stored values that are actually references to heap data.