first: read all objects from source stream

further explanation in comment