Convert data array into FileStream type

B

benn

I have working routines that utilize StreamReader (FileStream) but
they operate on a file that is opened. My data is generated during
execution and I don't have write access on the drive to to write any
temporary files.. otherwise I could write the data memory into a file
and read it back as a FileStream.

Any ideas?
 
I

Ian Collins

I have working routines that utilize StreamReader (FileStream) but
they operate on a file that is opened. My data is generated during
execution and I don't have write access on the drive to to write any
temporary files.. otherwise I could write the data memory into a file
and read it back as a FileStream.

What's a FileStream?
 
J

Jonathan Lee

I have working routines that utilize StreamReader (FileStream) but
they operate on a file that is opened.    My data is generated during
execution and I don't have write access on the drive to to write any
temporary files.. otherwise I could write the data memory into a file
and read it back as a FileStream.

Any ideas?

You might want to ask in a newsgroup that works with .NET
stuff. This newsgroup discusses C++ language problems; you
have a library problem.

BUT... if I understand you correctly you want to do stream
manipulations in memory. The closest thing in the standard
library is stringstream. Perhaps you can adapt your routines
for that class?

--Jonathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top