class HexaPDF::Type::ObjectStream::Data

Parent

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

object_by_index(index)

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.