Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class corecall
Link copied to clipboard
class CoreFoundationException(val nsError: NSError) : Throwable
Link copied to clipboard
class swiftcall
Link copied to clipboard
class SwiftException(message: String) : Throwable

Properties

Link copied to clipboard
val isAndroid: <Error class: unknown class>

Functions

Link copied to clipboard
fun MemScope.cfDictionaryOf(vararg pairs: Pair<*, *>): CFDictionaryRef
Link copied to clipboard
Link copied to clipboard

Drops bytes at the start, or adds zero bytes at the start, until the size is reached

inline fun ByteArray.ensureSize(size: UInt): ByteArray
Link copied to clipboard
inline operator fun <T> CFDictionaryRef.get(key: Any?): T
Link copied to clipboard
inline fun <T : CFTypeRef?> Any?.giveToCF(): T
Link copied to clipboard
infix fun <T : Any> T?.orLazy(block: () -> T): Lazy<T>
Link copied to clipboard
inline operator fun CFMutableDictionaryRef.set(key: Any?, value: Any?)
Link copied to clipboard
inline fun <T> CFTypeRef?.takeFromCF(): T
Link copied to clipboard
fun NSData.toByteArray(): ByteArray
Link copied to clipboard
fun NSError.toNiceString(): String
Link copied to clipboard
fun ByteArray.toNSData(): NSData