def Data(self): o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12)) if o != 0: x = o + self._tab.Pos from org.apache.arrow.flatbuf.Buffer import Buffer obj = Buffer() obj.Init(self._tab.Bytes, x) return obj return None
def IndptrBuffers(self, j): o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6)) if o != 0: x = self._tab.Vector(o) x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 16 from org.apache.arrow.flatbuf.Buffer import Buffer obj = Buffer() obj.Init(self._tab.Bytes, x) return obj return None