System.Rtti.IValueData.ExtractRawDataNoCopy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ExtractRawDataNoCopy(ABuffer: Pointer);

C++

virtual void __fastcall ExtractRawDataNoCopy(void * ABuffer) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Rtti.pas
System.Rtti.hpp
System.Rtti IValueData

Description

Copies the referenced data to the given memory address.

Use ExtractRawDataNoCopy when a raw copy of the referenced data is required. The ABuffer parameter specifies the address of the memory where the data is copied.

ExtractRawDataNoCopy does not take any special actions regarding managed types. This makes it unsafe for arrays containing strings, for example. Use ExtractRawData for a safe version of this function.

See Also