FlatBuffers Version 2.0.8 (#7492)

This commit is contained in:
Derek Bailey
2022-08-29 20:43:36 -07:00
committed by GitHub
parent b190ce11b0
commit 06c5c7ed0b
125 changed files with 198 additions and 180 deletions

View File

@@ -197,7 +197,7 @@ class ScalarStuff : Table() {
return if(o != 0) bb.get(o + bb_pos) else 1
}
companion object {
fun validateVersion() = Constants.FLATBUFFERS_2_0_0()
fun validateVersion() = Constants.FLATBUFFERS_2_0_8()
fun getRootAsScalarStuff(_bb: ByteBuffer): ScalarStuff = getRootAsScalarStuff(_bb, ScalarStuff())
fun getRootAsScalarStuff(_bb: ByteBuffer, obj: ScalarStuff): ScalarStuff {
_bb.order(ByteOrder.LITTLE_ENDIAN)