grow

fun grow(newByteLength: Int)(source)

Grows the SharedArrayBuffer to the specified size (in bytes).

MDN