StreamEncodingType

enum StreamEncodingType : Enum<StreamEncodingType> , ConvertibleToJava<StreamEncodingType>

The encoding of the stream being received.

Entries

Link copied to clipboard

No encoding validation. Treats the file as a stream of raw bytes.

Link copied to clipboard

UTF-8 encoding.

Link copied to clipboard

UTF-16 encoding with little-endian byte order.

Link copied to clipboard

UTF-16 encoding with little-endian byte order.

Link copied to clipboard

ASCII encoding.

Link copied to clipboard

The Big5 Chinese character encoding.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: StreamEncodingType
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): StreamEncodingType
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.