2008-11-13 20:48:11 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								! Copyright (C) 2008 Doug Coleman. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								! See http://factorcode.org/license.txt for BSD license. 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-29 01:42:15 -05:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								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. 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-29 01:42:15 -05:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{ $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 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-29 01:42:15 -05:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{ $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:" 
							 
						 
					
						
							
								
									
										
										
										
											2009-10-01 15:56:36 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{ $subsections hexdump }
							 
						 
					
						
							
								
									
										
										
										
											2008-11-13 20:48:11 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								"Write the hexdump to the output stream:" 
							 
						 
					
						
							
								
									
										
										
										
											2009-10-01 15:56:36 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{ $subsections hexdump. } ;
 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-13 20:48:11 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-11-13 22:06:41 -05:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								ABOUT: "tools.hexdump"