[Overview][Constants][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Common ancestor for buffered streams
Source position: bufstream.pp line 35
type TBufStream = class(TOwnerStream) |
||
public |
||
constructor Create(); |
|
Create a new TBufStream instance. |
destructor Destroy; override; |
|
Destroys the TBufStream instance |
property Buffer: Pointer; [r] |
|
The current buffer |
|
Current buffer capacity |
|
|
Current buffer position. |
|
property BufferSize: Integer; [r] |
|
Amount of data in the buffer |
end; |
|
Common ancestor for buffered streams |
|
| | ||
| | ||
| | ||
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.
|
Read-only buffered stream. |
|
|
Write-only buffered stream. |