object Platform
Object describing the current platform program executes upon.
Check if current architecture allows unaligned access to wider than byte locations.
val canAccessUnaligned: Boolean
Architechture of the CPU program executes upon.
val cpuArchitecture: CpuArchitecture
If binary was compiled in debug mode.
val isDebugBinary: Boolean
Check if byte order of the current platform is least significant byte (LSB) first, aka little endian.
val isLittleEndian: Boolean
If the memory leak checker is activated, by default true
in debug mode, false
in release. When memory leak checker is activated, and leak is detected during last Kotlin context deinitialization process - error message with leak information is printed and application execution is aborted.
var isMemoryLeakCheckerActive: Boolean
Memory model binary was compiled with.
val memoryModel: MemoryModel
Operating system family program executes upon.
val osFamily: OsFamily
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-platform/index.html