Flatbuffers Version 23.1.20 (#7794)

* Flatbuffers Version 23.1.20

* Fix warnings

* Fix warnings
This commit is contained in:
Michael Le
2023-01-21 12:03:17 -08:00
committed by GitHub
parent 991b39edbe
commit 1703662285
164 changed files with 224 additions and 220 deletions

View File

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