Package-level declarations

Types

Link copied to clipboard
actual interface AutoCloseable
expect interface AutoCloseable
actual interface AutoCloseable
Link copied to clipboard
actual interface Closeable : AutoCloseable
expect interface Closeable : AutoCloseable
actual interface Closeable : AutoCloseable
actual typealias Closeable = java.io.Closeable
Link copied to clipboard
class FileInputStream(val filePtr: FilePtr) : InputStream

Implementation of a FileInputStream based upon native file access.

Link copied to clipboard
interface FileMode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class FilePtr(val value: <Error class: unknown class><<Error class: unknown class>>)
Link copied to clipboard
expect abstract class InputStream : Closeable
actual abstract class InputStream : Closeable
actual typealias InputStream = java.io.InputStream
actual abstract class InputStream : Closeable
actual abstract class InputStream : Closeable
Link copied to clipboard
class InputStreamReader(val inputStream: InputStream) : Reader

An implementation of a reader that reads (UTF-8 only) input streams.

Link copied to clipboard
expect open class IOException : Exception
actual open class IOException : Exception
actual typealias IOException = java.io.IOException
actual open class IOException : Exception
actual open class IOException : Exception
Link copied to clipboard
actual annotation class Language(val value: String, val prefix: String, val suffix: String)
expect annotation class Language(val value: String, val prefix: String = "", val suffix: String = "")
actual typealias Language = org.intellij.lang.annotations.Language
Link copied to clipboard
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class MpJvmDefaultWithCompatibility
@Target(allowedTargets = [AnnotationTarget.CLASS])
expect annotation class MpJvmDefaultWithCompatibility
@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class MpJvmDefaultWithCompatibility
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class MpJvmDefaultWithoutCompatibility
@Target(allowedTargets = [AnnotationTarget.CLASS])
expect annotation class MpJvmDefaultWithoutCompatibility
@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class MpJvmDefaultWithoutCompatibility
Link copied to clipboard
Link copied to clipboard
expect abstract class OutputStream : Closeable
actual abstract class OutputStream : Closeable
actual abstract class OutputStream : Closeable
actual abstract class OutputStream : Closeable
Link copied to clipboard
Link copied to clipboard
actual abstract class Reader
expect abstract class Reader
actual abstract class Reader
actual typealias Reader = java.io.Reader
Link copied to clipboard
value class SizeT(val value: <Error class: unknown class>)

Wrapper type to stand in for size_t as that type has inconsistent sizes in different architectures.

Link copied to clipboard
actual open class StringReader : Reader
expect open class StringReader : Reader
actual open class StringReader : Reader
Link copied to clipboard
actual open class StringWriter : Writer
expect open class StringWriter : Writer
actual open class StringWriter : Writer
actual open class StringWriter : Writer
Link copied to clipboard
Link copied to clipboard
typealias URI = java.net.URI
Link copied to clipboard
actual abstract class Writer : Appendable
expect abstract class Writer : Appendable
actual abstract class Writer : Appendable
actual abstract class Writer : Appendable

Properties

Link copied to clipboard
Link copied to clipboard
expect val KClass<*>.name: String
actual val KClass<*>.name: String
actual val KClass<*>.name: String
actual val KClass<*>.name: String
actual val KClass<*>.name: String

Functions

Link copied to clipboard
expect fun assert(value: Boolean)
expect fun assert(value: Boolean, lazyMessage: () -> String)
actual fun assert(value: Boolean)
actual fun assert(value: Boolean, lazyMessage: () -> String)
actual fun assert(value: Boolean)
actual fun assert(value: Boolean, lazyMessage: () -> String)
actual fun assert(value: Boolean)
actual fun assert(value: Boolean, lazyMessage: () -> String)
actual fun assert(value: Boolean)
actual fun assert(value: Boolean, lazyMessage: () -> String)
Link copied to clipboard
actual inline fun <K, V> MutableMap<K, V>.computeIfAbsent(key: K, defaultValue: () -> V): V
expect inline fun <K, V> MutableMap<K, V>.computeIfAbsent(key: K, crossinline defaultValue: () -> V): V
actual inline fun <K, V> MutableMap<K, V>.computeIfAbsent(key: K, crossinline defaultValue: () -> V): V
actual inline fun <K, V> MutableMap<K, V>.computeIfAbsent(key: K, crossinline defaultValue: () -> V): V
Link copied to clipboard
fun sizeT(i: Int): SizeT
fun sizeT(l: Long): SizeT
fun sizeT(i: UInt): SizeT
fun sizeT(l: ULong): SizeT
Link copied to clipboard
actual inline fun <T : Closeable?, R> T.use(block: (T) -> R): R
expect inline fun <T : Closeable?, R> T.use(block: (T) -> R): R
actual inline fun <T : Closeable?, R> T.use(block: (T) -> R): R
inline fun <T : Closeable, R> T.use(block: (T) -> R): R
inline fun <T : Closeable, R> T.use(block: (T) -> R): R