(cls, buf, offset: int = 0)
| 12 | |
| 13 | @classmethod |
| 14 | def GetRootAs(cls, buf, offset: int = 0): |
| 15 | n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) |
| 16 | x = Int() |
| 17 | x.Init(buf, n + offset) |
| 18 | return x |
| 19 | |
| 20 | @classmethod |
| 21 | def GetRootAsInt(cls, buf, offset=0): |
no test coverage detected