Thought I could use the BinaryWriter but haven't had any luck. Suggestions?
A:
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.
Hans Passant
2010-07-08 23:35:02
Thank you for supporting my SO record. http://meta.stackoverflow.com/questions/56217/the-true-unsung-heros/56322#56322
Hans Passant
2010-07-09 00:02:43