__slots__ = ['_tab']
@classmethod
- def GetRootAsArrayTable(cls, buf, offset):
+ def GetRootAsArrayTable(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = ArrayTable()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsMonster(cls, buf, offset):
+ def GetRootAsMonster(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = Monster()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsReferrable(cls, buf, offset):
+ def GetRootAsReferrable(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = Referrable()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsStat(cls, buf, offset):
+ def GetRootAsStat(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = Stat()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsTestSimpleTableWithEnum(cls, buf, offset):
+ def GetRootAsTestSimpleTableWithEnum(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = TestSimpleTableWithEnum()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsTypeAliases(cls, buf, offset):
+ def GetRootAsTypeAliases(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = TypeAliases()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsMonster(cls, buf, offset):
+ def GetRootAsMonster(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = Monster()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsInParentNamespace(cls, buf, offset):
+ def GetRootAsInParentNamespace(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = InParentNamespace()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsMonsterExtra(cls, buf, offset):
+ def GetRootAsMonsterExtra(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = MonsterExtra()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsTableInNestedNS(cls, buf, offset):
+ def GetRootAsTableInNestedNS(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = TableInNestedNS()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsSecondTableInA(cls, buf, offset):
+ def GetRootAsSecondTableInA(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = SecondTableInA()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsTableInFirstNS(cls, buf, offset):
+ def GetRootAsTableInFirstNS(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = TableInFirstNS()
x.Init(buf, n + offset)
__slots__ = ['_tab']
@classmethod
- def GetRootAsTableInC(cls, buf, offset):
+ def GetRootAsTableInC(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = TableInC()
x.Init(buf, n + offset)