mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-21 13:05:45 +00:00
Add missed file generated by optional_scalar.fbs (#6125)
This commit is contained in:
14
tests/optional_scalars/OptionalByte.kt
Normal file
14
tests/optional_scalars/OptionalByte.kt
Normal file
@@ -0,0 +1,14 @@
|
||||
// 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]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user