What is an easy way to read a specific byte offset of a file? Right
now I’m going through and using the .getc function until I get to the
specific offset I need. This is very tedious because I just have a
list of .getc calls. THere must be an easier way to do this?
Right now I’m doing this in order to get to 4th byte in file:
a = File.open(“example.dat”)
byte_4 = a.getc