flatbuffers/tests/optional_scalars/OptionalByte.kt

15 lines
387 B
Kotlin
Raw Normal View History

// 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
val names : Array<String> = arrayOf("None", "One")
fun name(e: Int) : String = names[e]
}
}