Skip to content

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.

License

Notifications You must be signed in to change notification settings

KeyofBlueS/readbytes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages