Click or drag to resize
HexDump Class

The HexDump class provides a client for displaying the contents of a binary file in hexadecimal.

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

Inheritance Hierarchy
SystemObject
  Algs4NetHexDump

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class HexDump

The HexDump type exposes the following members.

Methods
  NameDescription
Public methodStatic memberMainTest
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.
Top
Remarks

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

This class is a C# port from the original Java class HexDump implementation by the respective authors.

See Also