C# Class System.Text.UnicodeEncoding

Inheritance: Encoding
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Equals ( object value ) : bool
GetByteCount ( char chars, int index, int count ) : int
GetByteCount ( string s ) : 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 index, int count ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetDecoder ( ) : System.Text.Decoder
GetEncoder ( ) : System.Text.Encoder
GetHashCode ( ) : int
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int
GetPreamble ( ) : byte[]
GetString ( byte bytes, int index, int count ) : string
UnicodeEncoding ( )
UnicodeEncoding ( bool bigEndian, bool byteOrderMark )
UnicodeEncoding ( bool bigEndian, bool byteOrderMark, bool throwOnInvalidBytes )

Private Methods

Method Description
GetByteCount ( char chars, int count ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount ) : int
GetCharCount ( byte bytes, int count ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount ) : int

Method Details

Equals() public method

public Equals ( object value ) : bool
value object
return bool

GetByteCount() public method

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

GetByteCount() public method

public GetByteCount ( string s ) : int
s string
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 index, int count ) : int
bytes byte
index int
count 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

GetDecoder() public method

public GetDecoder ( ) : System.Text.Decoder
return System.Text.Decoder

GetEncoder() public method

public GetEncoder ( ) : System.Text.Encoder
return System.Text.Encoder

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[]

GetString() public method

public GetString ( byte bytes, int index, int count ) : string
bytes byte
index int
count int
return string

UnicodeEncoding() public method

public UnicodeEncoding ( )

UnicodeEncoding() public method

public UnicodeEncoding ( bool bigEndian, bool byteOrderMark )
bigEndian bool
byteOrderMark bool

UnicodeEncoding() public method

public UnicodeEncoding ( bool bigEndian, bool byteOrderMark, bool throwOnInvalidBytes )
bigEndian bool
byteOrderMark bool
throwOnInvalidBytes bool