TBufStream class
Common ancestor for buffered streams.
Declaration
TBufStream = class(TOwnerStream)Inheritance
- TBufStream
- TOwnerStream
- TStream
- 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
Buffer | public | The current buffer. |
Capacity | public | Current buffer capacity. |
BufferPos | public | Current buffer position. |
BufferSize | public | Amount of data in the buffer. |
Methods
GetPosition | protected | |
GetSize | protected | Return the size of the stream. |
BufferError | protected | |
FillBuffer | protected | |
FlushBuffer | protected | |
Create | public | Create a new TBufStream instance. |
Destroy | public | Destroys the TBufStream instance. |
Inherited
From TOwnerStream (2)
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.
