Function bufferedStream
Creates a new buffered stream wrapper.
auto bufferedStream(S)
(
S stream,
size_t buffer_size = 16384,
size_t buffer_count = 4
)
if (isRandomAccessStream!S);
Parameters
Name | Description |
---|---|
stream | The stream that is going to be wrapped |
buffer_size | Size of a single buffer segment |
buffer_count | Number of buffer segments |