...

Text file src/github.com/google/flatbuffers/tests/union_vector/Gadget.kt

Documentation: github.com/google/flatbuffers/tests/union_vector

     1// automatically generated by the FlatBuffers compiler, do not modify
     2
     3@Suppress("unused")
     4class Gadget private constructor() {
     5    companion object {
     6        const val NONE: UByte = 0u
     7        const val FallingTub: UByte = 1u
     8        const val HandFan: UByte = 2u
     9        val names : Array<String> = arrayOf("NONE", "FallingTub", "HandFan")
    10        fun name(e: Int) : String = names[e]
    11    }
    12}

View as plain text