code: def num2tag(n):
      if n < 0x200000:
          return str(n)
      else:
          return (
              struct.unpack("4s", struct.pack(">L", n))[0]
              .replace(b"\000", b"")
              .decode()
          )
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/grUtils.py
imports: import struct, warnings
label_desc: Use image node_id 6 for calling a global function with example usage: num2tag(n) and returns: str, struct