GitHunt
KE

KeyofBlueS/readbytes

A small utility that extracts a specified number of bytes from a binary file, starting at a given offset, and outputs them as a hexadecimal string.

readbytes

A small utility that extracts a specified number of bytes from a binary file, starting at a given offset, and outputs them as a hexadecimal string.

Build Instructions:

g++ -static -o readbytes readbytes.cpp

Usage:

$ readbytes <input_file> [options]
Options:
  -s, --seek <offset>		Set the offset (default is 0)
  -l, --length <length>		Set the number of bytes to read (default is 4)
  -h, --help			Show this help message and exit

Languages

C++100.0%

Contributors

GNU General Public License v3.0
Created April 19, 2025
Updated April 19, 2025