System.SysUtils.TMarshaller.FixArray
Delphi
function FixArray<T>(Arr: TArray<T>): TPtrWrapper;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TMarshaller |
Description
Returns a wrapped pointer referencing the data at the start of the array.
The FixArray method ensures the array is kept alive at least until Flush is called or the record goes out of scope.