FlatBuffers Version 23.3.3 (#7852)

This commit is contained in:
Derek Bailey 2023-03-03 11:46:55 -08:00 committed by GitHub
parent 6f9ea7c23c
commit 01834de25e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
173 changed files with 257 additions and 251 deletions

View file

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