Update BufferedStream.cs

Optimization.
Merge pull request #183 from dogwatch/patch-1

Update BufferedStream.cs