RAA - hexdump

hexdump / 1.0

Short description: Extension to class String for displaying hexdump of contents
Category: Library/Utility
Status: stable
Created: 2004-12-05 22:31:01 GMT
Last update: 2004-12-06 03:00:02 GMT
Owner: Tilo Sloboda (Projects of this owner)
Homepage: http://www.unixgods.org/~tilo/Ruby/hexdump.html
Download: http://www.unixgods.org/~tilo/Ruby/hexdump.rb
License: Artistic
Dependency:
None
Description:

adds method hexdump to class String, so that binary contents of strings can be examined in the good'ol'way
<PRE>
"some random long string".hexdump

index 0 1 2 3 4 5 6 7 8 9 A B C D E F

00000000 736f6d65 2072616e 646f6d20 6c6f6e67 some random long
00000010 20737472 696e67 string
=> nil
</PRE>

Edit this project (for project owner)

back to RAA top