Topic Path: Symbol Reference > Classes > TReadFileNonExclusiveStream Class
TReadFileNonExclusiveStream Class

Implements a file stream using shared access for read operations.

TReadFileNonExclusiveStream = class(TIdFileStream);

TReadFileNonExclusiveStream is a TIdFileStream descendant that implements a file stream using shared access for read operations. 

TReadFileNonExclusiveStream includes a constructor that accepts a file name used for reading and writing content in the stream. The constructor also ensures that the stream is created using the appropriate file and sharing modes. 

Use TReadFileExclusiveStream to create a non-shared file stream. 

To TAppendFileStream or TFileCreateStream to create stream that appends or recreates (respectively) content in the storage file.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.