pre_allocate


Description:

[ Version ( since = "0.9.2" ) ]
public Bool pre_allocate (uint size)

Pre allocates memory for buffer to fit at least size number of items.

Parameters:

size

Number of items to pre allocate.

buffer

An Buffer

Returns:

`true` if buffer memory allocation succeeded, `false` otherwise