C# Класс System.Text.UnicodeEncoding

Наследование: Encoding
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 )

Приватные методы

Метод Описание
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

Описание методов

Equals() публичный метод

public Equals ( object value ) : bool
value object
Результат bool

GetByteCount() публичный метод

public GetByteCount ( char chars, int index, int count ) : int
chars char
index int
count int
Результат int

GetByteCount() публичный метод

public GetByteCount ( string s ) : int
s string
Результат int

GetBytes() публичный метод

public GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
chars char
charIndex int
charCount int
bytes byte
byteIndex int
Результат int

GetBytes() публичный метод

public GetBytes ( string s, int charIndex, int charCount, byte bytes, int byteIndex ) : int
s string
charIndex int
charCount int
bytes byte
byteIndex int
Результат int

GetCharCount() публичный метод

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
Результат int

GetChars() публичный метод

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
Результат int

GetDecoder() публичный метод

public GetDecoder ( ) : System.Text.Decoder
Результат System.Text.Decoder

GetEncoder() публичный метод

public GetEncoder ( ) : System.Text.Encoder
Результат System.Text.Encoder

GetHashCode() публичный метод

public GetHashCode ( ) : int
Результат int

GetMaxByteCount() публичный метод

public GetMaxByteCount ( int charCount ) : int
charCount int
Результат int

GetMaxCharCount() публичный метод

public GetMaxCharCount ( int byteCount ) : int
byteCount int
Результат int

GetPreamble() публичный метод

public GetPreamble ( ) : byte[]
Результат byte[]

GetString() публичный метод

public GetString ( byte bytes, int index, int count ) : string
bytes byte
index int
count int
Результат string

UnicodeEncoding() публичный метод

public UnicodeEncoding ( )

UnicodeEncoding() публичный метод

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

UnicodeEncoding() публичный метод

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