public object FfiConverterUShort: FfiConverter { override fun lift(value: Short): UShort { return value.toUShort() } override fun read(buf: ByteBuffer): UShort { return lift(buf.getShort()) } override fun lower(value: UShort): Short { return value.toShort() } override fun allocationSize(value: UShort) = 2UL override fun write(value: UShort, buf: ByteBuffer) { buf.putShort(value.toShort()) } }