User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_filestream

TGIS_FileStream class

DK11 for .NET | TatukGIS.NDK.TGIS_FileStream | Classes | Constructors | Methods | Properties

Equivalent to TFileStream.

Available also on: Delphi | Java.

Syntax

// C#
public class TGIS_FileStream : TGIS_Stream
{
}
' VisualBasic
Public Class TGIS_FileStream
  Inherits TGIS_Stream
End Class
// Oxygene
type
  TGIS_FileStream = public class( TGIS_Stream )
  end;

Inheritance

→ TGIS_BaseStream → TGIS_Stream

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_FileStream() public Create an instance of stream.

Methods

Inherited Overrides Protected
Name Visibility Description
Eof public Check if stream reached End Of File.
(Overrides TGIS_Stream.Eof)
Flush public
Read public
ReadAsciiString public Read string of the width from the stream.
(Inherited from TGIS_Stream)
ReadBytesCnt public Read array of bytes
(Inherited from TGIS_Stream)
ReadBytesSafe public Read array of bytes
(Inherited from TGIS_Stream)
ReadLine public Read line from text file up to CR.
(Inherited from TGIS_Stream)
ReadString public Read string of the width from the stream.
(Inherited from TGIS_Stream)
ReadToken public Read token (delimited by a space char) from text file.
(Inherited from TGIS_Stream)
Seek public
SetLength public
Write public
WriteBytes public Write array of bytes
(Inherited from TGIS_Stream)
WriteBytesCnt public Write array of bytes
(Inherited from TGIS_Stream)
WriteLine public Write text line ended with CR/LF to the stream.
(Inherited from TGIS_Stream)
WriteString public Write a string to the stream.
(Inherited from TGIS_Stream)
WriteStringCnt public Write a string to the stream.
(Inherited from TGIS_Stream)
WriteVarAsString public Write a variant as a string to the stream.
(Inherited from TGIS_Stream)

Properties

Inherited Protected
Name Visibility Description
CodePage public Code page of the stream.
(Inherited from TGIS_Stream)
PatrolRead public
Size public

Remarks

Available metadata keys:

Metadata Values Default Description
TGIS_Stream.PatrolRead TRUE
FALSE
TRUE If true then file prefetching (cache warming) is enabled. Value can be changed only upon application startup (before opening any file).

2019/01/25 17:02