code: def stringToLong(s):
      if len(s) != 4:
          raise ValueError("string must be 4 bytes long")
      l = 0
      for i in range(4):
          l += byteord(s[i]) << (i * 8)
      return l
  
imports: import fontTools
  from fontTools.misc import eexec
  from fontTools.misc.macCreatorType import getMacCreatorAndType
  from fontTools.misc.textTools import bytechr, byteord, bytesjoin, tobytes
  from fontTools.misc.psOperators import _type1_pre_eexec_order, _type1_fontinfo_order, _type1_post_eexec_order
  from fontTools.encodings.StandardEncoding import StandardEncoding
  import os
  import re
label_desc: Use image node_id 15 for calling a global function with example usage: stringToLong(s) and returns: l