C# Class System.Text.Encoder

Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
Convert void
Convert void
GetByteCount int
GetBytes int
Reset void
SerializeEncoder void

Public Methods

Method Description
GetByteCount ( char chars, int index, int count, bool flush ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, bool flush ) : int

Protected Methods

Method Description
Encoder ( ) : System.Runtime.Serialization

Private Methods

Method Description
Convert ( char chars, int charCount, byte bytes, int byteCount, bool flush, int &charsUsed, int &bytesUsed, bool &completed ) : void
Convert ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, int byteCount, bool flush, int &charsUsed, int &bytesUsed, bool &completed ) : void
GetByteCount ( char chars, int count, bool flush ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount, bool flush ) : int
Reset ( ) : void
SerializeEncoder ( SerializationInfo info ) : void

Method Details

Encoder() protected method

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

GetByteCount() public abstract method

public abstract GetByteCount ( char chars, int index, int count, bool flush ) : int
chars char
index int
count int
flush bool
return int

GetBytes() public abstract method

public abstract GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, bool flush ) : int
chars char
charIndex int
charCount int
bytes byte
byteIndex int
flush bool
return int