Documentation of 'edu.princeton.cs.algs4.HexDump' Java class
HexDump
edu.princeton.cs.algs4

Class HexDump



  • public class HexDump
    extends java.lang.Object
    The HexDump class 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.

    See also BinaryDump and PictureDump. For more full-featured versions, see the Unix utilities od (octal dump) and hexdump (hexadecimal dump).

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
        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.
        Parameters:
        args - the command-line arguments

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.