vibe.d beta banner
get vibe.d
0.8.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
) @trusted;

Parameters

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

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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