mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 00:02:19 +00:00
C#/Java generated code version updates
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user