1 public object FfiConverterUInt: FfiConverter<UInt, Int> {
2 override fun lift(value: Int): UInt {
6 override fun read(buf: ByteBuffer): UInt {
7 return lift(buf.getInt())
10 override fun lower(value: UInt): Int {
14 override fun allocationSize(value: UInt) = 4
16 override fun write(value: UInt, buf: ByteBuffer) {
17 buf.putInt(value.toInt())