C# Class Shaman.Runtime.ValueStringStreamReader

Inheritance: IDisposable
ファイルを表示 Open project: antiufo/Shaman.ValueString

Public Methods

Method Description
Dispose ( ) : void
Peek ( ) : int
Read ( ) : int
Read ( char buffer, int index, int count ) : int
ReadLine ( ) : ValueString?
ReadToEnd ( ) : ValueString
ValueStringStreamReader ( Stream stream, Encoding encoding, MultiValueStringBuilder mv ) : System
ValueStringStreamReader ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen, MultiValueStringBuilder mv ) : System

Private Methods

Method Description
CompressBuffer ( int n ) : void
DetectEncoding ( ) : void
Init ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen ) : void
IsPreamble ( ) : bool
ReadBuffer ( ) : int
ReadBuffer ( char userBuffer, int userOffset, int desiredChars, bool &readToUserBuffer ) : int

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Peek() public method

public Peek ( ) : int
return int

Read() public method

public Read ( ) : int
return int

Read() public method

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

ReadLine() public method

public ReadLine ( ) : ValueString?
return ValueString?

ReadToEnd() public method

public ReadToEnd ( ) : ValueString
return ValueString

ValueStringStreamReader() public method

public ValueStringStreamReader ( Stream stream, Encoding encoding, MultiValueStringBuilder mv ) : System
stream Stream
encoding System.Text.Encoding
mv MultiValueStringBuilder
return System

ValueStringStreamReader() public method

public ValueStringStreamReader ( Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen, MultiValueStringBuilder mv ) : System
stream Stream
encoding System.Text.Encoding
detectEncodingFromByteOrderMarks bool
bufferSize int
leaveOpen bool
mv MultiValueStringBuilder
return System