Is there an easy way to convert an IronPython file-like object to a .NET Stream? The reverse can be done in IronPython using code like this:
net_stream = File.OpenRead('file.txt')
python_file = file(net_stream)
Is there an easy way to convert it back? Or do you have to write a wrapper that will inherit from Stream and implement all the methods?