C# Class System.Text.GB18030Encoding

Inheritance: DBCSCodePageEncoding
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
GetDecoder ( ) : Decoder
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int

Private Methods

Méthode 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 méthode

public GetDecoder ( ) : Decoder
Résultat Decoder

GetMaxByteCount() public méthode

public GetMaxByteCount ( int charCount ) : int
charCount int
Résultat int

GetMaxCharCount() public méthode

public GetMaxCharCount ( int byteCount ) : int
byteCount int
Résultat int