vibe.d beta banner
get vibe.d
0.10.1

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

Function AllocAppender.reserve

Grows the capacity of the internal buffer so that it can hold a minumum amount of elements.

void reserve (
  size_t amount
) @safe;

Parameters

NameDescription
amount The minimum amount of elements that shall be appendable without triggering a re-allocation.
Authors

Sönke Ludwig

Copyright

© 2012 Sönke Ludwig

License

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