2020-09-21 16:37:01 +00:00
|
|
|
// 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
|
2020-10-22 20:36:02 +00:00
|
|
|
const val Two: Byte = 2
|
|
|
|
val names : Array<String> = arrayOf("None", "One", "Two")
|
2020-09-21 16:37:01 +00:00
|
|
|
fun name(e: Int) : String = names[e]
|
|
|
|
}
|
|
|
|
}
|