C# Class System.Text.EncodingNLS

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

Méthodes publiques

Méthode Description
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 decoder ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount, DecoderNLS decoder ) : int
GetDecoder ( ) : Decoder
GetEncoder ( ) : Encoder

Méthodes protégées

Méthode Description
EncodingNLS ( int codePage ) : System
EncodingNLS ( int codePage, EncoderFallback enc, DecoderFallback dec ) : System

Private Methods

Méthode Description
GetByteCount ( String s ) : int
GetByteCount ( char chars, int count ) : int
GetByteCount ( char chars, int index, int count ) : int
GetBytes ( String s, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetCharCount ( byte bytes, int count ) : int
GetCharCount ( byte bytes, int index, int count ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetLocalizedEncodingNameResource ( int codePage ) : string
GetString ( byte bytes, int index, int count ) : String
ThrowBytesOverflow ( ) : void
ThrowBytesOverflow ( EncoderNLS encoder, bool nothingEncoded ) : void
ThrowCharsOverflow ( ) : void
ThrowCharsOverflow ( DecoderNLS decoder, bool nothingDecoded ) : void

Method Details

EncodingNLS() protected méthode

protected EncodingNLS ( int codePage ) : System
codePage int
Résultat System

EncodingNLS() protected méthode

protected EncodingNLS ( int codePage, EncoderFallback enc, DecoderFallback dec ) : System
codePage int
enc EncoderFallback
dec DecoderFallback
Résultat System

GetByteCount() public abstract méthode

public abstract GetByteCount ( char chars, int count, EncoderNLS encoder ) : int
chars char
count int
encoder EncoderNLS
Résultat int

GetBytes() public abstract méthode

public abstract GetBytes ( char chars, int charCount, byte bytes, int byteCount, EncoderNLS encoder ) : int
chars char
charCount int
bytes byte
byteCount int
encoder EncoderNLS
Résultat int

GetCharCount() public abstract méthode

public abstract GetCharCount ( byte bytes, int count, DecoderNLS decoder ) : int
bytes byte
count int
decoder DecoderNLS
Résultat int

GetChars() public abstract méthode

public abstract GetChars ( byte bytes, int byteCount, char chars, int charCount, DecoderNLS decoder ) : int
bytes byte
byteCount int
chars char
charCount int
decoder DecoderNLS
Résultat int

GetDecoder() public méthode

public GetDecoder ( ) : Decoder
Résultat Decoder

GetEncoder() public méthode

public GetEncoder ( ) : Encoder
Résultat Encoder