class HexaPDF::Type::ObjectStream::Data


Holds all necessary information to load objects for an object stream.

Public Class Methods

new(stream_data, oids, offsets)

Initializes the data object with the needed values.

Public Instance Methods


Returns the object specified by the given index together with its object number.

Objects are not pre-loaded, so every time this method is invoked the associated stream data is parsed and a new object returned.