类 BinaryDump


  • public class BinaryDump
    extends java.lang.Object
    The BinaryDump class provides a client for displaying the contents of a binary file in binary.

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

    For additional documentation, see Section 5.5 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.

    See also HexDump and PictureDump.

    • 方法概要

      修饰符和类型 方法 说明
      static void main​(java.lang.String[] args)
      Reads in a sequence of bytes from standard input and writes them to standard output in binary, k bits 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.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • main

        public static void main​(java.lang.String[] args)
        Reads in a sequence of bytes from standard input and writes them to standard output in binary, k bits 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.
        参数:
        args - the command-line arguments