Search code examples
c#.netbuffering

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


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


Solution

  • 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.