C# Class System.Text.GB18030Encoding

Inheritance: DBCSCodePageEncoding
ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Public Methods

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

Private Methods

Method Description
GB18030Encoding ( ) : System
GetByteCount ( char chars, int count, EncoderNLS encoder ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount, EncoderNLS encoder ) : int
GetCharCount ( byte bytes, int count, DecoderNLS baseDecoder ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount, DecoderNLS baseDecoder ) : int
GetFourBytesOffset ( short offset1, short offset2, short offset3, short offset4 ) : int
Is4Byte ( char charTest ) : bool
IsGBFourByteTrailing ( short ch ) : bool
IsGBLeadByte ( short ch ) : bool
IsGBTwoByteTrailing ( short ch ) : bool
LoadManagedCodePage ( ) : void

Method Details

GetDecoder() public method

public GetDecoder ( ) : Decoder
return Decoder

GetMaxByteCount() public method

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

GetMaxCharCount() public method

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