Returns true if the character c can be represented in this encoding scheme.
Returns the total number of code points encoded in a ubyte array.
Decodes a single code point.
Encodes a single code point into a user-supplied, fixed-size buffer.
Returns the number of ubytes required to encode this code point.
Returns the length of the first encoded sequence.
Returns the array index at which the (n+1)th code point begins.
Returns true if the array is encoded correctly
Returns an array of all known names for this encoding scheme
Decodes a single code point. The input does not have to be valid.
Sanitizes an array by replacing malformed ubyte sequences with valid ubyte sequences. The result is guaranteed to be valid for this encoding scheme.
Returns the standard name of the encoding scheme
Returns the length of the longest possible substring, starting from the first element, which is validly encoded.
Returns the sequence of ubytes to be used to represent any character which cannot be represented in the encoding scheme.
Abstract base class of all encoding schemes