Nevron Open Vision Documentation
NEncoding Class Members
Fields  Properties  Methods 


The following tables list the members exposed by NEncoding.

Protected Fields
 NameDescription
Protected Fieldm_AliasesThe alias names of this encoding.  
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)ASCIIGets an encoding for the 7 bit 'ASCII' (US-ASCII) character set.  
Public Propertystatic (Shared in Visual Basic)CentralEuropeanGets an encoding for the 'Central European (ISO)' (iso-8859-2) character set also known as 'Latin-2'.  
Public PropertyCodePageGets the code page associated with this encoding.  
Public Propertystatic (Shared in Visual Basic)CyrillicGets an encoding for the 'Cyrillic (Windows)' (windows-1251) character set.  
Public Propertystatic (Shared in Visual Basic)EncodingsCreates and returns an array that contains all supported encodings.  
Public PropertyFallbackByteGets or sets the byte to use when a character is not supported by this encoding.  
Public PropertyFallbackCharacterGets or sets the character to use when a character is not supported by this encoding.  
Public Propertystatic (Shared in Visual Basic)Koi8rGets an encoding for the 'Cyrillic (KOI8-R)' character set.  
Public PropertyNameGets the official name of this encoding - the name registered with the Internet Assigned Numbers Authority (IANA).  
Public Propertystatic (Shared in Visual Basic)UTF16BigEndianGets an encoding for the 16 bit unicode (UTF-16) format with big endian byte order.  
Public Propertystatic (Shared in Visual Basic)UTF16LittleEndianGets 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.  
Public Propertystatic (Shared in Visual Basic)UTF8Gets an encoding for the 8 bit unicode (UTF-8) format.  
Public Propertystatic (Shared in Visual Basic)WesternEuropeanGets an encoding for the 'Western European (ISO)' (iso-8859-1) character set also known as 'Latin-1'.  
Top
Public Methods
 NameDescription
Public MethodAddAliasAdds an alias name for this encoding.  
Public Methodstatic (Shared in Visual Basic)AddCustomEncodingAdds a new custom encoding to the list of encodings.  
Public MethodCanEncodeCharReturns true if the current encoding can encode the char.  
Public MethodGetByteCountOverloaded. Calculates the number of bytes produced by encoding a set of characters from the specified string.  
Public MethodGetBytesOverloaded. 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".  
Public MethodGetCharCountOverloaded. Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.  
Public MethodGetCharsOverloaded. 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".  
Public Methodstatic (Shared in Visual Basic)GetEncodingOverloaded. Returns the encoding associated with the specified code page or null if no such encoding is supported.  
Public MethodGetStringOverloaded. Decodes the given byte array and returns the resulting string.  
Public MethodIsAliasOfChecks whether the given name is an alias of this encoding.  
Top
See Also

Reference

NEncoding Class
Nevron.Nov.Text Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback