Sign in Join
FPDoc Onlineexperiment

TIOStream class

In unit IoStream

Stream which handles standard input/output and stderr.

Declaration

pascal
TIOStream = class(THandleStream)

Inheritance

  1. TIOStream
  2. THandleStream
  3. TStream
  4. TObject

Description

TIOStream can be used to create a stream which reads from or writes to the standard input, output or stderr file descriptors. It is a descendent of THandleStream. The type of stream that is created is determined by the TIOSType argument to the constructor. The handle of the standard input, output or stderr file descriptors is determined automatically.

The TIOStream keeps an internal Position, and attempts to provide minimal Seek behaviour based on this position.

See also

Methods

SetSizeprotectedSet the size of the stream.
GetPositionprotected
InvalidSeekprotected
CreatepublicConstruct a new instance of TIOStream.
ReadpublicRead data from the stream.
WritepublicWrite data to the stream.
SeekpublicSet the stream position.

Inherited

From THandleStream (1)

Handle

From TObject (41)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.