FlatBuffers Version 22.9.24 (#7547)

This commit is contained in:
Derek Bailey
2022-09-27 11:55:25 -07:00
committed by GitHub
parent cfe157ec56
commit 76ddae006f
129 changed files with 263 additions and 241 deletions

View File

@@ -36,7 +36,7 @@ class Animal : Table() {
return if(o != 0) bb.getShort(o + bb_pos).toUShort() else 0u
}
companion object {
fun validateVersion() = Constants.FLATBUFFERS_2_0_8()
fun validateVersion() = Constants.FLATBUFFERS_22_9_24()
fun getRootAsAnimal(_bb: ByteBuffer): Animal = getRootAsAnimal(_bb, Animal())
fun getRootAsAnimal(_bb: ByteBuffer, obj: Animal): Animal {
_bb.order(ByteOrder.LITTLE_ENDIAN)