bufferSize

* Returns the exact length of a buffer.

size_t
bufferSize
(
T
)
(
T[] buffer
)

Examples

* Example of bufferSize usage.

immutable int[] arr = [4, 5, -6];
assert(arr.bufferSize == 12, "Array size of arr must be 4 * 3 = 12!");

Meta