Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
Kotlin libraries
Toggle table of contents
2.1
Select version
2.2
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
JS
JVM
Native
Wasm-JS
Wasm-WASI
Platform filter
Common
JS
JVM
Native
Wasm-JS
Wasm-WASI
Switch theme
Search in API
Kotlin libraries
kotlin-stdlib
/
kotlin
/
Byte
/
toByte
to
Byte
Common
JS
JVM
Native
Wasm-JS
Wasm-WASI
expect
open
override
fun
toByte
(
)
:
Byte
(
source
)
Returns this value.
Since Kotlin
1.0
actual
open
override
fun
toByte
(
)
:
Byte
(
source
)
Returns this value.
Since Kotlin
1.1
open
override
fun
toByte
(
)
:
Byte
(
source
)
Returns this value.
Since Kotlin
1.0
actual
open
inline override
fun
toByte
(
)
:
Byte
(
source
)
Returns this value.
Since Kotlin
1.3
actual
open
inline override
fun
toByte
(
)
:
Byte
(
source
)
Returns this value.
Since Kotlin
1.8
actual
open
inline override
fun
toByte
(
)
:
Byte
(
source
)
Returns this value.
Since Kotlin
1.8
Thanks for your feedback!
Was this page helpful?
Yes
No