System.TMarshal.ReadInt32

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function ReadInt32(const Ptr: TPtrWrapper; Ofs: NativeInt = 0): Integer;

Properties

Type Visibility Source Unit Parent
function public System.pas System TMarshal

Description

Reads an integer from a block of memory.

ReadInt32 reads a 32-bit integer at offset Ofs from a block of memory referenced by the Ptr wrapped pointer.

ReadInt32 has an implied offset of 0.

See Also