flatbuffers/tests/optional_scalars/OptionalByte.kt

16 lines
426 B
Kotlin

// automatically generated by the FlatBuffers compiler, do not modify
package optional_scalars
@Suppress("unused")
@ExperimentalUnsignedTypes
class OptionalByte private constructor() {
companion object {
const val None: Byte = 0
const val One: Byte = 1
const val Two: Byte = 2
val names : Array<String> = arrayOf("None", "One", "Two")
fun name(e: Int) : String = names[e]
}
}