Creating IStream object in C#

前端 未结 4 1974
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-14 07:18

I\'m writing a project and working with another party DLL.

Function from their DLL wants an IStream object to save result, but I can\'t understand how to create an I

4条回答
  •  野的像风
    2021-01-14 07:51

    Implement your own stream class and inherit the IStream interface. IStream is just a stream and can be pretty much what you decide it is as long as it is a stream (e.g. FileStream etc.)

    Related: link

提交回复
热议问题