mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
17 lines
394 B
Kotlin
17 lines
394 B
Kotlin
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
package NamespaceA.NamespaceB
|
|
|
|
@Suppress("unused")
|
|
@ExperimentalUnsignedTypes
|
|
class EnumInNestedNS private constructor() {
|
|
companion object {
|
|
const val A: Byte = 0
|
|
const val B: Byte = 1
|
|
const val C: Byte = 2
|
|
val names: Array<String> = arrayOf("A", "B", "C")
|
|
|
|
fun name(e: Int): String = names[e]
|
|
}
|
|
}
|