由网友(笑与君歌)分享简介:我以为我可以使用的BinaryWriter,但还没有任何运气。建议?Thought I could use the BinaryWriter but haven't had any luck. Suggestions?推荐答案您需要一个Stream派生类的实例,以提供流实现。 MemoryStream的是门票:...
我以为我可以使用的BinaryWriter,但还没有任何运气。建议?
Thought I could use the BinaryWriter but haven't had any luck. Suggestions?
推荐答案
您需要一个Stream派生类的实例,以提供流实现。 MemoryStream的是门票:
You need an instance of a Stream derived class to provide the Stream implementation. MemoryStream is the ticket:
var stream = new MemoryStream(bin.ToArray());
其中,斌是你的二进制实例。
where "bin" is your Binary instance.
相关推荐
最新文章