Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
object Assert
Link copied to clipboard
abstract class BaseSingleByteCharset(val name: String) : Charset
Link copied to clipboard
class CancelException(str: String = "Cancel") : Exception
Link copied to clipboard
fun interface Cancellable
Link copied to clipboard
Link copied to clipboard
abstract class Charset(val name: String)
Link copied to clipboard
fun interface CharsetProvider
Link copied to clipboard
object Charsets
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class DeprecatedException(str: String = "Deprecated") : Exception
Link copied to clipboard
fun interface Disposable : DisposableHandle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface EnumLike<T : EnumLike<T>>
Link copied to clipboard
interface Environment
Link copied to clipboard
open class EnvironmentCustom(customEnvironments: Map<String, String> = LinkedHashMap()) : Environment
Link copied to clipboard
expect open class EOFException(msg: String) : IOException
actual open class EOFException(msg: String) : IOException
actual open class EOFException(msg: String) : IOException
Link copied to clipboard
expect open class FileNotFoundException(msg: String) : IOException
actual open class FileNotFoundException(msg: String) : IOException
actual open class FileNotFoundException(msg: String) : IOException
Link copied to clipboard
class InternalException(val code: Int) : Exception
Link copied to clipboard
class InvalidArgumentException(str: String = "Invalid Argument") : Exception
Link copied to clipboard
class InvalidOperationException(str: String = "Invalid Operation") : Exception
Link copied to clipboard
actual typealias IOException = java.io.IOException
expect open class IOException(msg: String) : Exception
actual open class IOException(msg: String) : Exception
actual open class IOException(msg: String) : Exception
actual typealias IOException = java.io.IOException
Link copied to clipboard
Link copied to clipboard
class JsCharset(val textEncoder: TextEncoder, val textDecoder: TextDecoder) : Charset
Link copied to clipboard
expect object JSEval
actual object JSEval
actual object JSEval
actual object JSEval
Link copied to clipboard
class JvmCharset(val charset: <Error class: unknown class>) : Charset
Link copied to clipboard
class KeyNotFoundException(str: String = "Key Not Found") : Exception
Link copied to clipboard
class lazyVar<T : Any>(val callback: () -> T)
Link copied to clipboard
Link copied to clipboard
class MustOverrideException(str: String = "Must Override") : Exception
Link copied to clipboard
class MustValidateCodeException(str: String = "Must Validate Code") : Exception
Link copied to clipboard
actual abstract class NativeThreadLocal<T>
expect abstract class NativeThreadLocal<T>
actual abstract class NativeThreadLocal<T>
actual abstract class NativeThreadLocal<T>
actual abstract class NativeThreadLocal<T>
Link copied to clipboard
class NotImplementedException(str: String = "Not Implemented") : Exception
Link copied to clipboard
Link copied to clipboard
class OutOfBoundsException(index: Int = -1, str: String = "Out Of Bounds") : Exception
Link copied to clipboard
open class Properties(map: Map<String, String>? = null)
Link copied to clipboard
class ReservedException(str: String = "Reserved") : Exception
Link copied to clipboard
open class SingleByteCharset(val name: String, val conv: String) : BaseSingleByteCharset
Link copied to clipboard
Link copied to clipboard
class TextCase(val words: List<String>)
Link copied to clipboard
external class TextDecoder(charset: String)
Link copied to clipboard
external class TextEncoder(charset: String)
Link copied to clipboard
class threadLocal<T>(val gen: () -> T)
Link copied to clipboard
class UnexpectedException(str: String = "Unexpected") : Exception
Link copied to clipboard
class UnreachableException(str: String = "Unreachable") : Exception
Link copied to clipboard
open class UTC8CharsetBase(val name: String) : Charset
Link copied to clipboard
class UTF16Charset(val le: Boolean) : Charset
Link copied to clipboard
inline class WChar(val codePoint: Int)
Link copied to clipboard
class WString

UTF-32 String. Each element in the codePoints array represents a character.

Link copied to clipboard
class WStringReader(val str: WString, var position: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

This won't support streaming decoding

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual val UTF8: Charset
expect val UTF8: Charset
actual val UTF8: Charset
actual val UTF8: Charset
actual val UTF8: Charset

Functions

Link copied to clipboard
inline fun assert(cond: Boolean)
inline fun assert(cond: Boolean, message: () -> String)
Link copied to clipboard
suspend fun <T> AutoClose(callback: suspend (CancellableGroup) -> T): T
Link copied to clipboard
fun Iterable<Cancellable>.cancel(e: Throwable = CancellationException(""))
Link copied to clipboard
Link copied to clipboard
fun Cancellable.closeable(e: () -> Throwable = { CancellationException("") }): Closeable
Link copied to clipboard
Link copied to clipboard
fun currentStackTrace(msg: String = "printStackTrace"): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun String.eachBuilder(transform: StringBuilder.(Char) -> Unit): String
Link copied to clipboard
actual fun enterDebugger()
expect fun enterDebugger()
actual fun enterDebugger()
actual fun enterDebugger()
actual fun enterDebugger()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun JSEval.expr(expr: String, vararg params: Pair<String, Any?>): Any?

Executes a javascript expr expressions and return the result.

Link copied to clipboard
inline fun WString.forEachCodePoint(block: (index: Int, codePoint: Int, error: Boolean) -> Unit): Int
inline fun String.forEachCodePoint(block: (index: Int, codePoint: Int, error: Boolean) -> Unit): Int
Link copied to clipboard
fun String.indexOfOrNull(char: Char, startIndex: Int = 0): Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun JSEval.invoke(code: String, vararg params: Pair<String, Any?>): Any?
operator fun String.Companion.invoke(arrays: IntArray, offset: Int = 0, size: Int = arrays.size - offset): String
Link copied to clipboard
inline fun <T> WStringReader?.keep(block: () -> T): T
inline fun <V, T> KMutableProperty0<V>.keep(block: () -> T): T
Link copied to clipboard
fun String.lastIndexOfOrNull(char: Char, startIndex: Int = lastIndex): Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun noImpl(msg: String): Nothing
Link copied to clipboard
Link copied to clipboard
fun printStackTrace(msg: String = "printStackTrace")
Link copied to clipboard
suspend fun VfsFile.readProperties(charset: Charset = Charsets.UTF8): Properties
Link copied to clipboard
fun ByteArray.readString(o: Int, size: Int, charset: Charset = UTF8): String
Link copied to clipboard
fun ByteArray.readStringz(o: Int, charset: Charset = UTF8): String
fun ByteArray.readStringz(o: Int, size: Int, charset: Charset = UTF8): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <R> runIgnoringExceptions(show: Boolean = false, action: () -> R): R?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun String_fromCharArray(arrays: CharArray, offset: Int = 0, size: Int = arrays.size - offset): String
Link copied to clipboard
fun String_fromIntArray(arrays: IntArray, offset: Int = 0, size: Int = arrays.size - offset): String
Link copied to clipboard
fun String.substr(start: Int): String
fun WString.substr(start: Int, length: Int = this.length): WString
fun String.substr(start: Int, length: Int): String
Link copied to clipboard
fun String.Companion.substringEquals(a: String, aIndex: Int, b: String, bIndex: Int, count: Int): Boolean
Link copied to clipboard
Link copied to clipboard
fun Thread_sleep(time: Long)
Link copied to clipboard
fun Thread_sleepUntil(dateTime: DateTime, exact: Boolean = true)
Link copied to clipboard
fun String.toByteArray(charset: Charset = UTF8, start: Int = 0, end: Int = this.length): ByteArray
Link copied to clipboard
fun String.toBytez(charset: Charset = UTF8): ByteArray
fun String.toBytez(len: Int, charset: Charset = UTF8): ByteArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ByteArray.toString(charset: Charset, start: Int = 0, end: Int = this.size): String
Link copied to clipboard
Link copied to clipboard
inline fun String.transform(transform: (Char) -> String): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun unsupported(msg: String = "unsupported"): Nothing
Link copied to clipboard
inline fun <TCloseable : Closeable, T : Any> TCloseable.use(callback: (TCloseable) -> T): T
Link copied to clipboard
fun String.withInsertion(index: Int, insertedText: String): String
Link copied to clipboard
Link copied to clipboard