Marley Software - Freeware for Delphi


TBufferedFileStream source file 4KB


TBufferedFileStream is a class derived from TFileStream that allows buffered single character input or output from a stream. It is handy if you are writing a parser that needs one character at a time and you don't want to worry about maintaining the buffer yourself. It performs file reads when you have read the entire buffer, otherwise, it supplies characters from the buffer.