Name | Description | |
---|---|---|
![]() | m_Aliases | The alias names of this encoding. |
![]() | trUb |
The following tables list the members exposed by NEncoding.
Name | Description | |
---|---|---|
![]() ![]() | ASCII | Gets an encoding for the 7 bit 'ASCII' (US-ASCII) character set. |
![]() ![]() | CentralEuropean | Gets an encoding for the 'Central European (ISO)' (iso-8859-2) character set also known as 'Latin-2'. |
![]() | CodePage | Gets the code page associated with this encoding. |
![]() ![]() | Cyrillic | Gets an encoding for the 'Cyrillic (Windows)' (windows-1251) character set, also known as CP-1251 (code page 1251). |
![]() ![]() | Encodings | Creates and returns an array that contains all supported encodings. |
![]() | FallbackByte | Gets or sets the byte to use when a character is not supported by this encoding. |
![]() | FallbackCharacter | Gets or sets the character to use when a character is not supported by this encoding. |
![]() ![]() | Koi8r | Gets an encoding for the 'Cyrillic (KOI8-R)' character set. |
![]() | Name | Gets the official name of this encoding - the name registered with the Internet Assigned Numbers Authority (IANA). |
![]() ![]() | UTF16BigEndian | Gets an encoding for the 16 bit unicode (UTF-16) format with big endian byte order. |
![]() ![]() | UTF16LittleEndian | Gets an encoding for the 16 bit unicode (UTF-16) format with little endian byte order. It is also know as simply 'Unicode' encoding in the .NET Framework and is used by default for strings. |
![]() ![]() | UTF32BigEndian | Gets an encoding for the 32 bit unicode (UTF-32) format with big endian byte order. |
![]() ![]() | UTF32LittleEndian | Gets an encoding for the 32 bit unicode (UTF-32) format with little endian byte order. It is also know as simply 'Unicode' encoding in the .NET Framework and is used by default for strings. |
![]() ![]() | UTF8 | Gets an encoding for the 8 bit unicode (UTF-8) format. |
![]() ![]() | WesternEuropean | Gets an encoding for the 'Western European (ISO)' (iso-8859-1) character set also known as 'Latin-1'. |
![]() ![]() | WesternEuropeanWindows | Gets and encoding for the 'Western European (Windows)' (Windows-1252) character set, also known as CP-1252 (code page 1252). |
Name | Description | |
---|---|---|
![]() | AddAlias | Adds an alias name for this encoding. |
![]() ![]() | AddCustomEncoding | Adds a new custom encoding to the list of encodings. |
![]() | CanEncodeChar | Returns true if the current encoding can encode the char. |
![]() | GetByteCount | Overloaded. Calculates the number of bytes produced by encoding a set of characters from the specified string. |
![]() | GetBytes | Overloaded. Encodes "charCount" characters from the given string, starting from the character at index "charIndex" and puts them in the specified byte array, starting from "byteIndex". |
![]() | GetCharCount | Overloaded. Calculates the number of characters produced by decoding all the bytes from the specified byte array. |
![]() | GetCharCount_Test | Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array. |
![]() | GetChars | Overloaded. Decodes "byteCount" bytes from the given byte array, starting from the byte at index "byteIndex" and puts them in the specified char array, starting from "charIndex". |
![]() ![]() | GetEncoding | Overloaded. Returns the encoding associated with the specified code page or null if no such encoding is supported. |
![]() | GetString | Overloaded. Decodes the given byte array and returns the resulting string. |
![]() | IsAliasOf | Checks whether the given name is an alias of this encoding. |