enum CharsetFailureKind
source · line 6public
public enum CharsetFailureKind
The text, option, or backend category of a failed conversion.
variant MissingBom
source · line 22public
MissingBom
The selected decoding policy requires an initial BOM that is absent.
variant ConflictingBom
source · line 26public
ConflictingBom
An initial BOM conflicts with the selected encoding or byte order.
variant MalformedInput
source · line 10public
MalformedInput
The source contains invalid byte sequences for its encoding.
variant UnmappableCharacter
source · line 18public
UnmappableCharacter
The destination encoding cannot represent a source character.
variant InvalidOptions
source · line 30public
InvalidOptions
The selected encoding and conversion options are incompatible.
variant Backend
source · line 34public
Backend
The native converter could not complete the requested operation.
variant IncompleteInput
source · line 14public
IncompleteInput
Final input ends partway through an encoded sequence.
function equals
source · line 6publiccompiler-derived
operator fun equals(other: CharsetFailureKind): Boolean
This derived operation is available when each field or payload type supports same-type equality.