W3cubDocs

/Kotlin

Platform

Platform and version requirements: Native (1.3)
object Platform

Object describing the current platform program executes upon.

Properties

Platform and version requirements: Native (1.3)

canAccessUnaligned

Check if current architecture allows unaligned access to wider than byte locations.

val canAccessUnaligned: Boolean
Platform and version requirements: Native (1.3)

cpuArchitecture

Architechture of the CPU program executes upon.

val cpuArchitecture: CpuArchitecture
Platform and version requirements: Native (1.3)

isLittleEndian

Check if byte order of the current platform is least significant byte (LSB) first, aka little endian.

val isLittleEndian: Boolean
Platform and version requirements: Native (1.3)

osFamily

Operating system family program executes upon.

val osFamily: OsFamily

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-platform/index.html