ICU-based encoding implementation. FOR INTERNAL USE. Objects of this class should only be allocated u...
Definition: icu_encoding.h:17
UTF-8 encoding. Objects of this class should only be allocated using System::MakeObject() function....
Definition: utf8_encoding.h:13
UTF8Encoding(bool encoder_should_emit_utf8_idetifier)
Constructor.
int GetHashCode() const override
Gets encoding hash code.
ArrayPtr< uint8_t > GetPreamble() override
Get codepage preamble.
int GetMaxCharCount(int byte_count) override
Get the maximum number of characters needed to decode a specified number of bytes.
UTF8Encoding(bool encoder_should_emit_utf8_identifier, bool throw_on_invalid_bytes)
Constructor.
bool operator==(const UTF8Encoding &other) const
Compares encodings parameters.
SharedPtr< Object > Clone() override
Clones encoding object.
int GetMaxByteCount(int char_count) override
Get the maximum number of bytes needed to encode a specified number of characters.
bool Equals(SharedPtr< Object > obj) override
Compares with object.