Sign in Join
FPDoc Onlineexperiment

TBufStream class

In unit BufStream

Common ancestor for buffered streams.

Declaration

pascal
TBufStream = class(TOwnerStream)

Inheritance

  1. TBufStream
  2. TOwnerStream
  3. TStream
  4. TObject

Descends from it: TReadBufStream TWriteBufStream

Description

TBufStream is the common ancestor for the TReadBufStream and TWriteBufStream streams. It completely handles the buffer memory management and position management. An instance of TBufStream should never be created directly. It also keeps the instance of the source stream.

See also

Properties

BufferpublicThe current buffer.
CapacitypublicCurrent buffer capacity.
BufferPospublicCurrent buffer position.
BufferSizepublicAmount of data in the buffer.

Methods

GetPositionprotected
GetSizeprotectedReturn the size of the stream.
BufferErrorprotected
FillBufferprotected
FlushBufferprotected
CreatepublicCreate a new TBufStream instance.
DestroypublicDestroys the TBufStream instance.

Inherited

From TOwnerStream (2)

Source SourceOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr 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.