FFIPointer

actual class FFIPointer
expect class FFIPointer
actual class FFIPointer
actual typealias FFIPointer = DenoPointer
actual typealias FFIPointer = Pointer

Constructors

Link copied to clipboard
constructor()
constructor()

Properties

Link copied to clipboard
actual val FFIPointer?.address: Long
expect val FFIPointer?.address: Long
actual val FFIPointer?.address: Long
Link copied to clipboard
actual val FFIPointer?.str: String
expect val FFIPointer?.str: String
actual val FFIPointer?.str: String

Functions

Link copied to clipboard
actual fun <T> FFIPointer.castToFunc(type: KType, config: FFIFuncConfig): T
inline fun <T> FFIPointer.castToFunc(): T
expect fun <T> FFIPointer.castToFunc(type: KType, config: FFIFuncConfig = FFIFuncConfig.DEFAULT): T
actual fun <T> FFIPointer.castToFunc(type: KType, config: FFIFuncConfig): T
Link copied to clipboard
fun FFIPointer.getAlignedF32(offset: Int = 0): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun FFIPointer.getAlignedS16(offset: Int = 0): Short
Link copied to clipboard
fun FFIPointer.getAlignedS32(offset: Int = 0): Int
Link copied to clipboard
fun FFIPointer.getAlignedS64(offset: Int = 0): Long
Link copied to clipboard
fun FFIPointer.getByteArray(size: Int, byteOffset: Int = 0): ByteArray
Link copied to clipboard
fun FFIPointer.getDataView(offset: Int, size: Int): DataView
Link copied to clipboard
actual fun FFIPointer.getF32(byteOffset: Int): Float
expect fun FFIPointer.getF32(byteOffset: Int = 0): Float
actual fun FFIPointer.getF32(byteOffset: Int): Float
Link copied to clipboard
actual fun FFIPointer.getF64(byteOffset: Int): Double
expect fun FFIPointer.getF64(byteOffset: Int = 0): Double
actual fun FFIPointer.getF64(byteOffset: Int): Double
Link copied to clipboard
fun FFIPointer.getFFIPointer(byteOffset: Int = 0): FFIPointer?
Link copied to clipboard
actual fun FFIPointer.getIntArray(size: Int, byteOffset: Int): IntArray
expect fun FFIPointer.getIntArray(size: Int, byteOffset: Int = 0): IntArray
actual fun FFIPointer.getIntArray(size: Int, byteOffset: Int): IntArray
Link copied to clipboard
actual fun FFIPointer.getS16(byteOffset: Int): Short
expect fun FFIPointer.getS16(byteOffset: Int = 0): Short
actual fun FFIPointer.getS16(byteOffset: Int): Short
Link copied to clipboard
actual fun FFIPointer.getS32(byteOffset: Int): Int
expect fun FFIPointer.getS32(byteOffset: Int = 0): Int
actual fun FFIPointer.getS32(byteOffset: Int): Int
Link copied to clipboard
actual fun FFIPointer.getS64(byteOffset: Int): Long
expect fun FFIPointer.getS64(byteOffset: Int = 0): Long
actual fun FFIPointer.getS64(byteOffset: Int): Long
Link copied to clipboard
actual fun FFIPointer.getS8(byteOffset: Int): Byte
expect fun FFIPointer.getS8(byteOffset: Int = 0): Byte
actual fun FFIPointer.getS8(byteOffset: Int): Byte
Link copied to clipboard
fun FFIPointer.getShortArray(size: Int, byteOffset: Int = 0): ShortArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun FFIPointer.set16(value: Short, byteOffset: Int)
expect fun FFIPointer.set16(value: Short, byteOffset: Int = 0)
actual fun FFIPointer.set16(value: Short, byteOffset: Int)
Link copied to clipboard
actual fun FFIPointer.set32(value: Int, byteOffset: Int)
expect fun FFIPointer.set32(value: Int, byteOffset: Int = 0)
actual fun FFIPointer.set32(value: Int, byteOffset: Int)
Link copied to clipboard
actual fun FFIPointer.set64(value: Long, byteOffset: Int)
expect fun FFIPointer.set64(value: Long, byteOffset: Int = 0)
actual fun FFIPointer.set64(value: Long, byteOffset: Int)
Link copied to clipboard
actual fun FFIPointer.set8(value: Byte, byteOffset: Int)
expect fun FFIPointer.set8(value: Byte, byteOffset: Int = 0)
actual fun FFIPointer.set8(value: Byte, byteOffset: Int)
Link copied to clipboard
fun FFIPointer.setAligned16(value: Short, offset: Int = 0)
Link copied to clipboard
fun FFIPointer.setAligned32(value: Int, offset: Int = 0)
Link copied to clipboard
fun FFIPointer.setAligned64(value: Long, offset: Int = 0)
Link copied to clipboard
fun FFIPointer.setAlignedF32(value: Float, offset: Int = 0)
Link copied to clipboard
fun FFIPointer.setAlignedF64(value: Double, offset: Int = 0)
Link copied to clipboard
fun FFIPointer.setAlignedFFIPointer(value: FFIPointer?, offset: Int = 0)
Link copied to clipboard
actual fun FFIPointer.setF32(value: Float, byteOffset: Int)
expect fun FFIPointer.setF32(value: Float, byteOffset: Int = 0)
actual fun FFIPointer.setF32(value: Float, byteOffset: Int)
Link copied to clipboard
actual fun FFIPointer.setF64(value: Double, byteOffset: Int)
expect fun FFIPointer.setF64(value: Double, byteOffset: Int = 0)
actual fun FFIPointer.setF64(value: Double, byteOffset: Int)
Link copied to clipboard
fun FFIPointer.setFFIPointer(value: FFIPointer?, byteOffset: Int = 0)
Link copied to clipboard
Link copied to clipboard