Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the C#/.NET equivalent of BufferedInputStream (in Java)?

Tags:

c#

.net

buffering

What is the C# equivalent for the Java BufferedInputStream and BufferedOutputStream classes?

like image 737
Xris Avatar asked Dec 03 '11 06:12

Xris


1 Answers

Well, there's the BufferedStream class (which wraps an existing stream like in Java), but you don't need to use it as often as you would use the equivalent in Java since most in-built streams in .NET use a certain amount of internal buffering.

like image 173
Ani Avatar answered Sep 28 '22 18:09

Ani