Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame^] | 1 | // automatically generated by the FlatBuffers compiler, do not modify |
2 | |||||
3 | package optional_scalars | ||||
4 | |||||
5 | @Suppress("unused") | ||||
6 | @ExperimentalUnsignedTypes | ||||
7 | class OptionalByte private constructor() { | ||||
8 | companion object { | ||||
9 | const val None: Byte = 0 | ||||
10 | const val One: Byte = 1 | ||||
11 | const val Two: Byte = 2 | ||||
12 | val names : Array<String> = arrayOf("None", "One", "Two") | ||||
13 | fun name(e: Int) : String = names[e] | ||||
14 | } | ||||
15 | } |