C# Class Portable.Text.UTF8Encoding

Inheritance: Encoding
Show file Open project: jstedfast/Portable.Text.Encoding

Public Methods

Method 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

Method 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 method

public Equals ( Object obj ) : bool
obj Object
return bool

GetByteCount() public method

public GetByteCount ( char chars, int count ) : int
chars char
count int
return int

GetByteCount() public method

public GetByteCount ( char chars, int index, int count ) : int
chars char
index int
count int
return int

GetBytes() public method

public GetBytes ( char chars, int charCount, byte bytes, int byteCount ) : int
chars char
charCount int
bytes byte
byteCount int
return int

GetBytes() public method

public GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
chars char
charIndex int
charCount int
bytes byte
byteIndex int
return int

GetBytes() public method

public GetBytes ( string s, int charIndex, int charCount, byte bytes, int byteIndex ) : int
s string
charIndex int
charCount int
bytes byte
byteIndex int
return int

GetCharCount() public method

public GetCharCount ( byte bytes, int count ) : int
bytes byte
count int
return int

GetCharCount() public method

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
return int

GetChars() public method

public GetChars ( byte bytes, int byteCount, char chars, int charCount ) : int
bytes byte
byteCount int
chars char
charCount int
return int

GetChars() public method

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
return int

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetMaxByteCount() public method

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

GetMaxCharCount() public method

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

GetPreamble() public method

public GetPreamble ( ) : byte[]
return byte[]

UTF8Encoding() public method

public UTF8Encoding ( ) : System
return System

UTF8Encoding() public method

public UTF8Encoding ( bool encoderShouldEmitUTF8Identifier ) : System
encoderShouldEmitUTF8Identifier bool
return System

UTF8Encoding() public method

public UTF8Encoding ( bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes ) : System
encoderShouldEmitUTF8Identifier bool
throwOnInvalidBytes bool
return System