C# Class System.Text.ISO2022Encoding

Inheritance: DBCSCodePageEncoding
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetDecoder ( ) : Decoder
GetEncoder ( ) : Encoder
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int

Protected Methods

Method Description
CleanUpBytes ( int &bytes ) : bool

Private Methods

Method Description
CheckEscapeSequenceJP ( byte bytes, int escapeCount ) : ISO2022Modes
CheckEscapeSequenceKR ( byte bytes, int escapeCount ) : ISO2022Modes
DecrementEscapeBytes ( byte &bytes, int &count ) : byte
GetByteCount ( char chars, int count, EncoderNLS baseEncoder ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount, EncoderNLS baseEncoder ) : int
GetBytesCP50225KR ( char chars, int charCount, byte bytes, int byteCount, ISO2022Encoder encoder ) : int
GetBytesCP5022xJP ( char chars, int charCount, byte bytes, int byteCount, ISO2022Encoder encoder ) : int
GetBytesCP52936 ( char chars, int charCount, byte bytes, int byteCount, ISO2022Encoder encoder ) : int
GetCharCount ( byte bytes, int count, DecoderNLS baseDecoder ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount, DecoderNLS baseDecoder ) : int
GetCharsCP50225KR ( byte bytes, int byteCount, char chars, int charCount, ISO2022Decoder decoder ) : int
GetCharsCP5022xJP ( byte bytes, int byteCount, char chars, int charCount, ISO2022Decoder decoder ) : int
GetCharsCP52936 ( byte bytes, int byteCount, char chars, int charCount, ISO2022Decoder decoder ) : int
ISO2022Encoding ( int codePage ) : System

Method Details

CleanUpBytes() protected method

protected CleanUpBytes ( int &bytes ) : bool
bytes int
return bool

GetDecoder() public method

public GetDecoder ( ) : Decoder
return Decoder

GetEncoder() public method

public GetEncoder ( ) : Encoder
return Encoder

GetMaxByteCount() public method

public GetMaxByteCount ( int charCount ) : int
charCount int
return int

GetMaxCharCount() public method

public GetMaxCharCount ( int byteCount ) : int
byteCount int
return int