xref: /aosp_15_r20/external/flatbuffers/tests/optional_scalars/OptionalByte.kt (revision 890232f25432b36107d06881e0a25aaa6b473652)
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package optional_scalars
4 
5 @Suppress("unused")
6 class OptionalByte private constructor() {
7     companion object {
8         const val None: Byte = 0
9         const val One: Byte = 1
10         const val Two: Byte = 2
11         val names : Array<String> = arrayOf("None", "One", "Two")
namenull12         fun name(e: Int) : String = names[e]
13     }
14 }
15