Click or drag to resize
Galactic API

FileReadLine Method (FileStream, StreamReader)

Reads a line of text from a file's stream.

Namespace:  Galactic.FileSystem
Assembly:  Galactic.FileSystem (in Galactic.FileSystem.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public static string ReadLine(
	FileStream stream,
	ref StreamReader reader
)

Parameters

stream
Type: System.IOFileStream
The file stream to read from.
reader
Type: System.IOStreamReader
A stream reader used when reading from the file. Useful for successive calls to ReadLine.

Return Value

Type: String
The line of text read, null if an error occurred while reading.
See Also