Make readAllFromStream more generally useful and rename it to stream::readAll