class CharsetEncodeOptions
source · line 68public
public class CharsetEncodeOptions public constructor(
/**
* Whether to emit an initial byte-order mark when supported by the encoding.
*/
public val emitBom: Boolean = false,
/**
* The selected byte order for an encoding that requires an explicit choice.
*/
public val byteOrder: ByteOrder? = None
)
BOM emission and byte-order selection for encoding Unicode text.
property emitBom
source · line 72public
public val emitBom: Boolean = false
get: public read-only
Whether to emit an initial byte-order mark when supported by the encoding.
property byteOrder
source · line 76public
public val byteOrder: ByteOrder? = None
get: public read-only
The selected byte order for an encoding that requires an explicit choice.
constructor constructor
source · line 68public
constructor(public val emitBom: Boolean = false, public val byteOrder: ByteOrder? = None)
parameter emitBom
source · line 72public
public val emitBom: Boolean = false
parameter byteOrder
source · line 76public
public val byteOrder: ByteOrder? = None