|
-
Sep 16th, 2003, 05:19 PM
#1
Thread Starter
Addicted Member
MemoryStream
Any one here know how to write the contents of a System.IO.Stream object, into a System.IO.MemoryStream object?
"And most of the evils of society can, in fact, be cured through information. We have a society that has been disinformed and based on the disinformation has made irrational choices. And that's what I mean by 'ignorance.' People, who ordinarily might be smart, are deprived of the data by which to make a rational decision, don't have the data to do it."
Frank Zappa
-
Sep 16th, 2003, 06:36 PM
#2
PowerPoster
I can't test this right now, but I think the constructor of the memory stream takes a stream as a parameter.
-
Sep 17th, 2003, 01:18 PM
#3
Thread Starter
Addicted Member
Nope, it takes a byte array. Thanks though. I got it figured out. ( I think)
"And most of the evils of society can, in fact, be cured through information. We have a society that has been disinformed and based on the disinformation has made irrational choices. And that's what I mean by 'ignorance.' People, who ordinarily might be smart, are deprived of the data by which to make a rational decision, don't have the data to do it."
Frank Zappa
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|