Class TBufferedReadStream
Unit
Declaration
type TBufferedReadStream = class(TPeekCharStream)
Description
Read another stream, sequentially, always being able to back one character, and buffering it. This implements abstract TPeekCharStream class, so this is a purely sequential read-only stream that reads from underlying SourceStream and you can use PeekChar and ReadChar and ReadUpto routines.
This stream will buffer incoming data from SourceStream. This means that reading by a very small chunks (like e.g. byte-by-byte) does not hurt performance.
Source: base/castleclassutils.pas (line 385).
Hierarchy
- TObject
- TStream
- TPeekCharStream
- TBufferedReadStream
Generated by PasDoc 0.17.0.snapshot.