Revision control

Copy as Markdown

Other Tools

/**
* @suppress
*/
public object FfiConverterInt: FfiConverter<Int, Int> {
override fun lift(value: Int): Int {
return value
}
override fun read(buf: ByteBuffer): Int {
return buf.getInt()
}
override fun lower(value: Int): Int {
return value
}
override fun allocationSize(value: Int) = 4UL
override fun write(value: Int, buf: ByteBuffer) {
buf.putInt(value)
}
}