C# Class Com.Aurora.Shared.Helpers.EncodingHelper

Inheritance: System.Text.Encoding
Afficher le fichier Open project: aurora-lzzp/Aurora-Weather Class Usage Examples

Méthodes publiques

Méthode Description
GetByteCount ( char chars, int index, int count ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetCharCount ( byte bytes, int index, int count ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetDBCSEncoding ( string name ) : Task
GetDecoder ( ) : Decoder
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int

Private Methods

Méthode Description
EncodingHelper ( ) : System
GetCharCount ( byte bytes, int index, int count, DBCSDecoder decoder ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex, DBCSDecoder decoder ) : int
GetInstall ( ) : Task

Method Details

GetByteCount() public méthode

public GetByteCount ( char chars, int index, int count ) : int
chars char
index int
count int
Résultat int

GetBytes() public méthode

public GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
chars char
charIndex int
charCount int
bytes byte
byteIndex int
Résultat int

GetCharCount() public méthode

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
Résultat int

GetChars() public méthode

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
Résultat int

GetDBCSEncoding() public static méthode

public static GetDBCSEncoding ( string name ) : Task
name string
Résultat Task

GetDecoder() public méthode

public GetDecoder ( ) : Decoder
Résultat System.Text.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