enum CharsetBomPolicy
source · line 8public
public enum CharsetBomPolicy
How decoding treats an initial byte-order mark.
variant Consume
source · line 12public
Consume
Uses an initial BOM for decoding without preserving it as a character.
variant Preserve
source · line 16public
Preserve
Preserves an initial BOM as a Unicode character in decoded text.
variant Require
source · line 20public
Require
Requires the input to begin with the appropriate BOM.
function equals
source · line 8publiccompiler-derived
operator fun equals(other: CharsetBomPolicy): Boolean
This derived operation is available when each field or payload type supports same-type equality.