how to turn a stream to a binary file

  • Thread starter Thread starter Mullin Yu
  • Start date Start date
M

Mullin Yu

as subject, what's the normal way to implement? the stream is binary as it
may be come from word, images or other objects?
 
Mullin Yu said:
as subject, what's the normal way to implement? the stream is binary as it
may be come from word, images or other objects?

What do you mean by "turn a stream"? Is this a stream that you're
reading from somewhere else? If so, just create a FileStream to write
to, and iterate, reading a chunk from the incoming stream and writing
it to the FileStream, repeating until you've reached the end of the
incoming stream.
 
Back
Top