class BinData::IO

def seekbytes(n)

Seek +n+ bytes from the current position in the io stream.
def seekbytes(n)
  reset_read_bits
  @raw_io.seek(n, ::IO::SEEK_CUR)
rescue NoMethodError, Errno::ESPIPE, Errno::EPIPE
  skipbytes(n)
end