code: def decompress(data):
      (compression,) = struct.unpack(">L", data[4:8])
      scheme = compression >> 27
      size = compression & 0x07FFFFFF
      if scheme == 0:
          pass
      elif scheme == 1 and lz4:
          res = lz4.block.decompress(struct.pack("<L", size) + data[8:])
          if len(res) != size:
              warnings.warn("Table decompression failed.")
          else:
              data = res
      else:
          warnings.warn(
              "Table is compressed with an unsupported compression scheme"
          )
      return (data, scheme)
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/grUtils.py
imports: import struct, warnings
label_desc: Use image node_id 1 for calling a global function with example usage: decompress(data) and returns: data,  scheme