I have a string that I need to pass to a com object that has a LoadFromStream method that accepts "object data". I assume this should be a byte [].
Rather, the main question: I got my MemoryStream all full and ready to go. What is the best way to convert it to binary []? Do I have to manually read it into the array one at a time or is there an easy way to embed it?
source share