Forum Discussion
GaryZ_31658
Jul 20, 2007Historic F5 Account
Binary to ASCII Conversion
Has anyone written a binary to ASCII conversion?
Converting binary to Hex seems to be working fine using binary scan but I would really like to get readable data out of my conversion.
binary scan [TCP::payload] H* clientdata
Thanks
3 Replies
- Al_Carandang_11
Nimbostratus
Try using 'A*' or 'a*' instead of an 'H*' in your format string.
Check out the TCL reference page for the binary command at http://tmml.sourceforge.net/doc/tcl/binary.html
-Al - Mack_Hanson_107
Nimbostratus
Hmmm, I get a 404 when accessing that page (http://tmml.sourceforge.net/doc/tcl/binary.html).
On 9.2.5, I get the same result when using 'H*', 'A*', or 'a*' - hoolio
Cirrostratus
It looks like there is an ongoing issue with the TCL man pages on sourceforge. Here is some info on it: http://sourceforge.net/tracker/index.php?func=detail&aid=1819386&group_id=16386&atid=116386 (Click here)
In the meantime, tcl.tk (Click here) or hume.com (Click here) are other options.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects