extractbytes is a program designed to extract a byte range from a file and output to the standard output.
Usage: extractbytes startbyte endbyte filename
-startbyte must be less than filelength-1
-endbyte must be less than or equal to filelength-1, greater than startbyte, or 0 to indicate filelength-1 automatically Source