NewObjectIter takes a storer.EncodedObjectStorer and a storer.EncodedObjectIter and returns an *ObjectIter that iterates over all objects contained in the storer.EncodedObjectIter.
(s storer.EncodedObjectStorer, iter storer.EncodedObjectIter)
| 176 | // storer.EncodedObjectIter and returns an *ObjectIter that iterates over all |
| 177 | // objects contained in the storer.EncodedObjectIter. |
| 178 | func NewObjectIter(s storer.EncodedObjectStorer, iter storer.EncodedObjectIter) *ObjectIter { |
| 179 | return &ObjectIter{iter, s} |
| 180 | } |
| 181 | |
| 182 | // Next moves the iterator to the next object and returns a pointer to it. If |
| 183 | // there are no more objects, it returns io.EOF. |
no outgoing calls