TLV_utils.decode as external tool

git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@84 f711b948-2313-0410-aaa9-d29f33439f0b
This commit is contained in:
hploetz 2006-06-14 09:11:46 +00:00
parent 2a18e3482f
commit 9c614ae526
1 changed files with 9 additions and 0 deletions

9
tlvdecoder.py Executable file
View File

@ -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)