System.SysUtils.TMarshaller.FixString
Delphi
function FixString(var Str: string): TPtrWrapper;
C++
System::TPtrWrapper __fastcall FixString(System::UnicodeString &Str);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TMarshaller |
Description
Returns a wrapped pointer referencing the data at the start of the string.
The FixString method ensures the string is kept alive at least until Flush is called or the record goes out of scope.