Class: PDF::Reader::Reference

Class | PDF::Reader::Reference
In: | lib/pdf/reader/reference.rb
Parent: | Object

An internal PDF::Reader class that represents an indirect reference to a PDF Object

### Methods

from_buffer new to_a

### Attributes

gen | [R] |
id | [R] |

### Public Class methods

from_buffer(buffer)

check if the next token in the buffer is a reference, and return a PDF::Reader::Reference instance. Returns nil if the next token isn‘t an indirect reference.

new(id, gen)

Create a new Reference to an object with the specified id and revision number

### Public Instance methods

to_a()

returns the current Reference object in an array with a single element

[Validate]