Method: HexaPDF::Type::ObjectStream#object_index

Defined in:
lib/hexapdf/type/object_stream.rb

#object_index(obj) ⇒ Object

Returns the index into the array containing the to-be-stored objects for the given reference/PDF object.



151
152
153
# File 'lib/hexapdf/type/object_stream.rb', line 151

def object_index(obj)
  objects[obj]
end