Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

StreamWriter not "bidirectional"?

$
0
0
From what I have been experimenting with, it seems that StreamWriter is not "bidirectional" in that you cannot write to and read from a file using the same port. It seems that in order to read from the file you have to close the StreamWriter and then open a new StreamReader. Is this correct? If so, what a pain, if you want to write and read Unicode characters without having to close and open ports every 2 seconds.

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>