pythoncom.OleSaveToStream

OleSaveToStream(persist, stream)

Save an object to an IStream.

Parameters

persist : PyIPersistStream

The object to save

stream : PyIStream

The stream to save the object to.