C#/Java generated code version updates

This commit is contained in:
Wouter van Oortmerssen
2021-05-10 11:17:31 -07:00
parent 8a7d013f85
commit 3412fab8ee
40 changed files with 40 additions and 40 deletions

View File

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