FlatBuffers Version 23.1.4 (#7758)

This commit is contained in:
Derek Bailey
2023-01-04 15:22:46 -08:00
committed by GitHub
parent 3b2eb77595
commit af9ceabeef
163 changed files with 287 additions and 269 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_22_12_06()
fun validateVersion() = Constants.FLATBUFFERS_23_1_4()
fun getRootAsAnimal(_bb: ByteBuffer): Animal = getRootAsAnimal(_bb, Animal())
fun getRootAsAnimal(_bb: ByteBuffer, obj: Animal): Animal {
_bb.order(ByteOrder.LITTLE_ENDIAN)