Creates a new buffered stream wrapper.
The stream that is going to be wrapped
Size of a single buffer segment
Number of buffer segments
See Implementation
Creates a new buffered stream wrapper.