def pkcs7_decode(paddedData, keySize=<NUM_LIT:16>):
<EOL>val = ord(paddedData[-<NUM_LIT:1>:])<EOL>if val > keySize:<EOL><INDENT>raise StreamError("<STR_LIT>".format(val))<EOL><DEDENT>return paddedData[:-val]<EOL>
Remove the PKCS#7 padding