class PDF::Reader::XRef

def initialize(io)


io - must be an IO object, generally either a file or a StringIO

create a new Xref table based on the contents of the supplied io object
###############################################################################
def initialize(io)
  @io = io
  @junk_offset = calc_junk_offset(io) || 0
  @xref = {}
  @trailer = load_offsets
end