code: def decompile(self, data, ttFont):
      self.version, numRanges = struct.unpack(">HH", data[:4])
      assert 0 <= self.version <= 1, (
          "unknown 'gasp' format: %s" % self.version
      )
      data = data[4:]
      self.gaspRange = {}
      for i in range(numRanges):
          rangeMaxPPEM, rangeGaspBehavior = struct.unpack(
              ">HH", data[:4]
          )
          self.gaspRange[int(rangeMaxPPEM)] = int(rangeGaspBehavior)
          data = data[4:]
      assert not data, "too much data"
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/_g_a_s_p.py
imports: from fontTools.misc.textTools import safeEval
  from .None import DefaultTable
  import struct
label_desc: Use image node_id 1 for calling the table__g_a_s_p obj's underlying member method code with example usage: obj.decompile(data, ttFont) without return types