[Overview][Constants][Classes] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Common ancestor for buffered streams
Source position: bufstream.pp line 32
type TBufStream = class(TOwnerStream) |
||
public |
||
procedure Create(); |
|
Create a new TBufStreaminstance. |
destructor Destroy; override; |
|
Destroys the TBufStreaminstance |
property Buffer: Pointer; [r] |
|
The current buffer |
property Capacity: Integer; [rw] |
|
Current buffer capacity |
property BufferPos: Integer; [r] |
|
Current buffer position. |
property BufferSize: Integer; [r] |
|
Amount of data in the buffer |
end; |
|
Common ancestor for buffered streams |
|
| | ||
| | ||
TObject |
TBufStreamis the common ancestor for the TReadBufStreamand TWriteBufStreamstreams. It completely handles the buffer memory management and position management. An instance of TBufStreamshould never be created directly. It also keeps the instance of the source stream.
|
Read-only buffered stream. |
|
|
Write-only buffered stream. |