Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.02 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.02 KB

HEXDMP

This is a simple command-line utility for dumping the contents of a file in hexadecimal format along with ASCII representation.

Usage

$ git clone https://github.com/HN026/HexDmp.git
$ cd HexDmp
$ make
$ ./bin/dmp [filename]

Arguments

  • [file]: File to read (default: STDIN).

Options & Flags

  • -l, --line <int>: Bytes per line in output (default: 16).
      $ ./bin/dmp -l <int> [filename]
  • -n, --num <int>: Number of bytes to read (default: all).
      $ ./bin/dmp -n <int> [filename]
  • -o, --offset <int>: Byte offset at which to begin reading.
      $ ./bin/dmp -o <int> [filename]
  • -h, --help: Display help text and exit.
  • -v, --version: Display version number and exit.

Example

Sample Output

License

This project is licensed under the MIT License - see the LICENSE file for details.


Built by Huzaifa
Connect with me on LinkedIn