System.TMarshal.ReadByte

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function ReadByte(Ptr: TPtrWrapper; Ofs: NativeInt = 0): Byte;

Properties

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

Description

Reads a single byte from a block of memory.

ReadByte reads a single byte at offset Ofs from a block of memory referenced by the Ptr wrapped pointer.

ReadByte has an implied offset of 0.

See Also