String.allocatedLen

size_t allocatedLen() @property

Get allocatedLen field.

Returns

the number of bytes that can be stored in the

string before it needs to be reallocated. May be larger than @len.

void allocatedLen(size_t propval) @property

Set allocatedLen field.

Parameters

propvalthe number of bytes that can be stored in the string before it needs to be reallocated. May be larger than @len.