def stream_data(self, ostream: "OStream") -> "Object":
        """Write our data directly to the given output stream.

        :param ostream:
            File-object compatible stream object.

        :return:
            self
        """
        istream = self.repo.odb.stream(self.binsha)
        stream_copy(istream, ostream)
        return self
Write our data directly to the given output stream.

        :param ostream:
            File-object compatible stream object.

        :return:
            self
        
git/objects/base.py