Could you please explain me what is a BufferedStream (what is a buffer and how it should be used?)? I have used a code that uses bufferedstream to write to a .txt file. I got the code while googling but don't know the theory behind how it works... please explain.
abra_ka_dabra 0 Light Poster
Recommended Answers
Jump to Postthis might be a good place for you to start searching
Jump to PostUse unbuffered output streams when you want each write to be processed immediately - eg Writing a log file - you don't want the last few messages to be lost when the program crashes and the buffer is lost. Another eg - writing to a network stream to send chat …
All 5 Replies
Lucaci Andrew 140 Za s|n
stultuske 1,116 Posting Maven Featured Poster
Lucaci Andrew commented: Same as my link ;) +7
abra_ka_dabra 0 Light Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
abra_ka_dabra 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.