diff --git a/tlvdecoder.py b/tlvdecoder.py new file mode 100755 index 0000000..9f44c80 --- /dev/null +++ b/tlvdecoder.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python +# -*- coding: iso-8859-1 -*- + +from TLV_utils import * +import binascii, sys + +if __name__ == "__main__": + a = binascii.unhexlify("".join( sys.stdin.read().split() )) + print decode(a)