Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 644 Bytes

File metadata and controls

22 lines (13 loc) · 644 Bytes

Create constructor

Project: Stream Extension Classes

Unit: PJIStreams

Class: TPJFileIStream

Applies to: ~>3.0

constructor Create(const FileName: string; Mode: Word);

Description

Object constructor. Creates a stream onto a given file that supports the IStream interface.

Parameters:

  • FileName -- Name of file that the stream is to be opened onto.
  • Mode -- Bitmask determining how the file is to be opened. Valid values are the same as those used in the TFileStream constructor with the same parameters from Delphi's Classes unit.