System.Classes.TWriter.Position

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Position: NativeInt read GetPosition write SetPosition;

C++

__property NativeInt Position = {read=GetPosition, write=SetPosition, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TWriter

Description

Represents the current writing position in the associated stream.

Position is used internally by writer objects to indicate the current writing position in the stream.

The value of Position will be inside the most recent buffer block read or the next block to be written. Thus, for writing, Position will generally be less than the stream's Position. When Position is set to a location outside the current buffer, the writer's buffer is flushed to the stream.

See Also