C# Class LumiSoft.Net.StreamLineReader

Stream line reader.
Show file Open project: jeske/StepsDB-alpha Class Usage Examples

Public Methods

Method Description
ReadLine ( ) : byte[]

Reads byte[] line from stream. NOTE: Returns null if end of stream reached.

ReadLineString ( ) : string

Reads string line from stream. String is converted with specified Encoding property from byte[] line. NOTE: Returns null if end of stream reached.

StreamLineReader ( Stream strmSource ) : System

Default constructor.

Method Details

ReadLine() public method

Reads byte[] line from stream. NOTE: Returns null if end of stream reached.
public ReadLine ( ) : byte[]
return byte[]

ReadLineString() public method

Reads string line from stream. String is converted with specified Encoding property from byte[] line. NOTE: Returns null if end of stream reached.
public ReadLineString ( ) : string
return string

StreamLineReader() public method

Default constructor.
public StreamLineReader ( Stream strmSource ) : System
strmSource Stream
return System