toByte

Deprecated

Warning since 1.5

Conversion of Char to Number is deprecated. Use Char.code property instead.

Replace with

this.code.toByte()

Returns the value of this character as a Byte.

Since Kotlin

1.0
external fun toByte(): Byte(source)

Deprecated

Warning since 1.5

Conversion of Char to Number is deprecated. Use Char.code property instead.

Replace with

this.code.toByte()

Returns the value of this character as a Byte.

Since Kotlin

1.3