我需要将Stream
转换为IRandomAccessStream
(以创建BitmapDecoder
)。我试图在BitmapDecoder
中投射和搜索内置方法,但找不到任何内容。将流转换为IRandomAccessStream
那么我该怎么做?
我需要将Stream
转换为IRandomAccessStream
(以创建BitmapDecoder
)。我试图在BitmapDecoder
中投射和搜索内置方法,但找不到任何内容。将流转换为IRandomAccessStream
那么我该怎么做?
你可以显示你有什么代码或已经尝试过..这不应该是那么困难,但它会很高兴看到你写的代码明智,看看你出错的地方 – MethodMan
可能的重复[有没有办法将System.IO.Stream转换为Windows.Storage.Streams.IRandomAccessStream?](http://stackoverflow.com/questions/7669311/is-there-a-way-to-convert-a-system-io- stream-to-a-windows-storage-streams-irando) – MethodMan