C# Class System.Text.Decoder

Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
Convert void
Convert void
GetCharCount int
GetCharCount int
GetChars int
Reset void
SerializeDecoder void

Public Methods

Method Description
GetCharCount ( byte bytes, int index, int count ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex, bool flush ) : int

Protected Methods

Method Description
Decoder ( ) : System.Runtime.Serialization

Private Methods

Method Description
Convert ( byte bytes, int byteCount, char chars, int charCount, bool flush, int &bytesUsed, int &charsUsed, bool &completed ) : void
Convert ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex, int charCount, bool flush, int &bytesUsed, int &charsUsed, bool &completed ) : void
GetCharCount ( byte bytes, int count, bool flush ) : int
GetCharCount ( byte bytes, int index, int count, bool flush ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount, bool flush ) : int
Reset ( ) : void
SerializeDecoder ( SerializationInfo info ) : void

Method Details

Decoder() protected method

protected Decoder ( ) : System.Runtime.Serialization
return System.Runtime.Serialization

GetCharCount() public abstract method

public abstract GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
return int

GetChars() public abstract method

public abstract GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
return int

GetChars() public method

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex, bool flush ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
flush bool
return int