def packl(lnum):
if lnum == <NUM_LIT:0>:<EOL><INDENT>return b'<STR_LIT>'<EOL><DEDENT>s = hex(lnum)[<NUM_LIT:2>:]<EOL>s = s.rstrip('<STR_LIT:L>')<EOL>if len(s) & <NUM_LIT:1>:<EOL><INDENT>s = '<STR_LIT:0>' + s<EOL><DEDENT>s = binascii.unhexlify(s)<EOL>return s<EOL>
Packs the lnum (which must be convertable to a long) into a
       byte string 0 padded to a multiple of padmultiple bytes in size. 0
       means no padding whatsoever, so that packing 0 result in an empty
       string.  The resulting byte string is the big-endian two's
       complement representation of the passed in long.