C# Class Portable.Text.Encoder

Inheritance: System.Text.Encoder
Show file Open project: jstedfast/Portable.Text.Encoding

Public Methods

Method Description
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 index, int count, bool flush ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, bool flush ) : int
Reset ( ) : void

Protected Methods

Method Description
Encoder ( ) : System

Private Methods

Method Description
CheckArguments ( char chars, int charCount, byte bytes, int byteCount ) : void

Method Details

Convert() public method

public Convert ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, int byteCount, bool flush, int &charsUsed, int &bytesUsed, bool &completed ) : void
chars char
charIndex int
charCount int
bytes byte
byteIndex int
byteCount int
flush bool
charsUsed int
bytesUsed int
completed bool
return void

Encoder() protected method

protected Encoder ( ) : System
return System

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

Reset() public method

public Reset ( ) : void
return void