code: def encode(tsig, *l):
      
  
      fun = encodefuns()
      if tsig not in fun:
          raise "No encoder for type %r." % tsig
      v = fun[tsig](*l)
      # Padd tsig out with spaces.
      tsig = (tsig + '   ')[: 4]
      return tsig + ('\x00' * 4) + v
docs: Encode a Python value as an ICC type.  `tsig` is the type
      signature to (the first 4 bytes of the encoded value, see [ICC 2004]
      section 10.