System.SysUtils.TMarshaller

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

 TMarshaller = record
 private type
 PDisposeRec = ^TDisposeRec;
 TDisposeProc = procedure(Args: PDisposeRec);
 TDisposeRec = record
 Proc: TDisposeProc;
 Obj: TObject;
 Arg1: NativeInt;
 Arg2: NativeInt;
 end;
 IDisposer = interface
 procedure AddDispose(Rec: TDisposeRec);
 procedure RemoveDispose(Rec: TDisposeRec);
 procedure Flush;
 end;

Properties

Type Visibility Source Unit Parent
record public System.SysUtils.pas System.SysUtils System.SysUtils

Description

TMarshaller is a record that facilitates working with memory buffers.

TMarshaller is a high-level API for marshalling arguments. It disposes of itself, and when disposed of, frees any buffers allocated for copying arguments.

TMarshaller introduces many functions and procedures to:

  • Allocate memory buffers.
  • Release memory buffers.
  • Access strings through wrapped pointers.

See Also

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.SysUtils.TMarshaller&oldid=523156"