vibe.d beta banner
get vibe.d
0.9.5

Asynchronous I/O that doesn’t get in your way, written in D

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

NameDescription
stream The stream that is going to be wrapped
buffer_size Size of a single buffer segment
buffer_count Number of buffer segments
Authors

Sönke Ludwig

Copyright

© 2020-2021 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.