System.Classes.TPointerStream

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TCustomMemoryStreamSystem.Classes.TStreamSystem.TObjectTPointerStream

Delphi

TPointerStream = class(TCustomMemoryStream)

C++

class PASCALIMPLEMENTATION TPointerStream : public TCustomMemoryStream

Properties

Type Visibility Source Unit Parent
class public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TPointerStream is a memory stream that provides access to the memory region in an application.

Use TPointerStream to read or write the memory region of an application. Depending on the constructor ReadOnly argument value, the stream is read/write or read-only. The size of the memory region cannot be changed using the assignment to the stream Size property, which will raise an exception. However, the memory region pointer and size of the region may be changed using the SetPointer method.