The MSDN site states:
A buffer is a block of bytes in memory
used to cache data, thereby reducing
the number of calls to the operating
system. Buffers improve read and write
performance. A buffer can be used for
either reading or writing, but never
both simultaneously. The Read and
Write methods of BufferedStream
automatically maintain the buffer.
Should I use this class in every possible occasion?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…