load (PDF::Reader::XRef)

    # File lib/pdf/reader/xref.rb, line 54
        def load (offset = nil)
          offset ||= @buffer.find_first_xref_offset
          @buffer.seek(offset)
          token = @buffer.token

          if token == "xref" || token == "ref"
            load_xref_table
          elsif token.to_i >= 0 && @buffer.token.to_i >= 0 && @buffer.token == "obj"
            raise PDF::Reader::UnsupportedFeatureError, "XRef streams are not supported in PDF::Reader yet"
          else
            raise PDF::Reader::MalformedPDFError, "xref table not found at offset #{offset} (#{token} != xref)"
          end
        end