System::Text::UnicodeEncoding class
Contents
[
Hide
]UnicodeEncoding class
Unicode encoding. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class UnicodeEncoding : public System::Text::ICUEncoding
Methods
Method | Description |
---|---|
Clone() override | Clones encoding object. |
Equals(SharedPtr<Object>) override | Compares encodings. |
GetHashCode() const override | Hashes encoding. |
GetMaxByteCount(int) override | Get the maximum number of bytes needed to encode a specified number of characters. |
GetMaxCharCount(int) override | Get the maximum number of characters needed to decode a specified number of bytes. |
GetPreamble() override | Returns a sequence of bytes that denotes the encoding (e. g. BOM). |
operator==(const UnicodeEncoding&) const | Compares encodings by codepages and flags. |
UnicodeEncoding() | Constructor. |
UnicodeEncoding(bool, bool) | Constructor. |
UnicodeEncoding(bool, bool, bool) | Constructor. |
Fields
Field | Description |
---|---|
static constexpr BIG_UNICODE_CODE_PAGE | Big endian codepage number. |
static constexpr DEFAULT_CODE_PAGE | Default codepage value. |
static constexpr UNICODE_CODE_PAGE | Little endian codepage number. |
See Also
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.TeX for C++