factor/basis/tools/hexdump/hexdump-docs.factor

24 lines
924 B
Factor
Raw Normal View History

2008-11-13 20:48:11 -05:00
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: help.markup help.syntax kernel sequences byte-arrays
strings ;
2008-11-13 20:49:34 -05:00
IN: tools.hexdump
2008-11-13 20:48:11 -05:00
HELP: hexdump.
{ $values { "byte-array" byte-array } }
2008-11-13 20:48:11 -05:00
{ $description "Converts a sequence to its hexadecimal and ASCII representation sixteen characters at a time and writes it to standard out." } ;
HELP: hexdump
{ $values { "byte-array" byte-array } { "str" string } }
2008-11-13 20:48:11 -05:00
{ $description "Converts a sequence to its hexadecimal and ASCII representation sixteen characters at a time. Lines are separated by a newline character." }
{ $see-also hexdump. } ;
2008-11-13 22:06:41 -05:00
ARTICLE: "tools.hexdump" "Hexdump"
"The " { $vocab-link "tools.hexdump" } " vocabulary provides a traditional hexdump view of a sequence." $nl
2008-11-13 20:48:11 -05:00
"Write hexdump to string:"
{ $subsection hexdump }
"Write the hexdump to the output stream:"
{ $subsection hexdump. } ;
2008-11-13 22:06:41 -05:00
ABOUT: "tools.hexdump"