...

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

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

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

View as plain text