C# Class Portable.Text.UTF8Encoding

Inheritance: Encoding
Afficher le fichier Open project: jstedfast/Portable.Text.Encoding

Méthodes publiques

Méthode Description
Equals ( Object obj ) : bool
GetByteCount ( char chars, int count ) : int
GetByteCount ( char chars, int index, int count ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetBytes ( string s, 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
GetHashCode ( ) : int
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int
GetPreamble ( ) : byte[]
UTF8Encoding ( ) : System
UTF8Encoding ( bool encoderShouldEmitUTF8Identifier ) : System
UTF8Encoding ( bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes ) : System

Private Methods

Méthode Description
Fallback ( object provider, DecoderFallbackBuffer &buffer, byte &bufferArg, byte bytes, long index, uint size ) : int
Fallback ( object provider, DecoderFallbackBuffer &buffer, byte &bufferArg, byte bytes, long byteIndex, uint size, char chars, int &charIndex ) : void
GetDecoder ( ) : System.Text.Decoder
GetEncoder ( ) : System.Text.Encoder
GetFallbackChars ( char chars, char start, EncoderFallback fallback, EncoderFallbackBuffer &buffer ) : char[]
InternalGetByteCount ( char chars, int count, EncoderFallback fallback, char &leftOver, bool flush ) : int
InternalGetByteCount ( char chars, int index, int count, EncoderFallback fallback, char &leftOver, bool flush ) : int
InternalGetBytes ( char chars, int count, byte bytes, int bcount, EncoderFallback fallback, EncoderFallbackBuffer &buffer, char &leftOver, bool flush ) : int
InternalGetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, EncoderFallback fallback, EncoderFallbackBuffer &buffer, char &leftOver, bool flush ) : int
InternalGetCharCount ( byte bytes, int index, int count, uint leftOverBits, uint leftOverCount, object provider, DecoderFallbackBuffer &fallbackBuffer, byte &bufferArg, bool flush ) : int
InternalGetCharCount ( byte bytes, int count, uint leftOverBits, uint leftOverCount, object provider, DecoderFallbackBuffer &fallbackBuffer, byte &bufferArg, bool flush ) : int
InternalGetChars ( byte bytes, int byteCount, char chars, int charCount, uint &leftOverBits, uint &leftOverCount, object provider, DecoderFallbackBuffer &fallbackBuffer, byte &bufferArg, bool flush ) : int
InternalGetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex, uint &leftOverBits, uint &leftOverCount, object provider, DecoderFallbackBuffer &fallbackBuffer, byte &bufferArg, bool flush ) : int

Method Details

Equals() public méthode

public Equals ( Object obj ) : bool
obj Object
Résultat bool

GetByteCount() public méthode

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

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 charCount, byte bytes, int byteCount ) : int
chars char
charCount int
bytes byte
byteCount 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

GetBytes() public méthode

public GetBytes ( string s, int charIndex, int charCount, byte bytes, int byteIndex ) : int
s string
charIndex int
charCount int
bytes byte
byteIndex int
Résultat int

GetCharCount() public méthode

public GetCharCount ( byte bytes, int count ) : int
bytes byte
count 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 byteCount, char chars, int charCount ) : int
bytes byte
byteCount int
chars char
charCount 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

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

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

GetPreamble() public méthode

public GetPreamble ( ) : byte[]
Résultat byte[]

UTF8Encoding() public méthode

public UTF8Encoding ( ) : System
Résultat System

UTF8Encoding() public méthode

public UTF8Encoding ( bool encoderShouldEmitUTF8Identifier ) : System
encoderShouldEmitUTF8Identifier bool
Résultat System

UTF8Encoding() public méthode

public UTF8Encoding ( bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes ) : System
encoderShouldEmitUTF8Identifier bool
throwOnInvalidBytes bool
Résultat System