public class HexDump extends Object
HexDumpclass provides a client for displaying the contents of a binary file in hexadecimal.
For additional documentation, see Section 5.5 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
|Modifier and Type||Method and Description|
Reads in a sequence of bytes from standard input and writes them to standard output using hexademical notation, k hex digits per line, where k is given as a command-line integer (defaults to 16 if no integer is specified); also writes the number of bits.
public static void main(String args)
args- the command-line arguments