class PDF::Reader::XRef
def [](ref)
returns the byte offset for the specified PDF object.
###############################################################################
def [](ref) @xref.fetch(ref.id, {}).fetch(ref.gen) rescue raise InvalidObjectError, "Object #{ref.id}, Generation #{ref.gen} is invalid" end