C# Class FileScanner.SearchSummary.PositionAwareStreamReader

Inheritance: System.IO.StreamReader
显示文件 Open project: kzemek/FileScanner Class Usage Examples

Public Methods

Method Description
PositionAwareStreamReader ( Stream stream, Encoding encoding ) : System
Read ( ) : int
Read ( char buffer, int offset, int count ) : int
ReadToEnd ( ) : string
Seek ( long position ) : void

Method Details

PositionAwareStreamReader() public method

public PositionAwareStreamReader ( Stream stream, Encoding encoding ) : System
stream Stream
encoding System.Text.Encoding
return System

Read() public method

public Read ( ) : int
return int

Read() public method

public Read ( char buffer, int offset, int count ) : int
buffer char
offset int
count int
return int

ReadToEnd() public method

public ReadToEnd ( ) : string
return string

Seek() public method

public Seek ( long position ) : void
position long
return void