Internet Direct (Indy)
Home
PreviousUpNext
TReadFileNonExclusiveStream Class

Implements a file stream using shared access for read operations.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.