class_docstr: Support Graphite Gloc tables
code: def decompile(self, data, ttFont):
      _, data = sstruct.unpack2(Gloc_header, data, self)
      flags = self.flags
      del self.flags
      self.locations = array.array("I" if flags & 1 else "H")
      self.locations.frombytes(
          data[: len(data) - self.numAttribs * (flags & 2)]
      )
      if sys.byteorder != "big":
          self.locations.byteswap()
      self.attribIds = array.array("H")
      if flags & 2:
          self.attribIds.frombytes(data[-self.numAttribs * 2 :])
          if sys.byteorder != "big":
              self.attribIds.byteswap()
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/G__l_o_c.py
imports: from fontTools.misc import sstruct
  from fontTools.misc.textTools import safeEval
  from .None import DefaultTable
  import array
  import sys
label_desc: Use image node_id 2 for calling the table_G__l_o_c obj's underlying member method code with example usage: obj.decompile(data, ttFont) without return types