resize

fun resize(newSize: Int)(source)
fun resize(newSize: Long)(source)

Resizes this buffer to newSize. The buffer is left untouched if allocation fails.

Throws

if SQLite is currently borrowing this buffer, for example as a bound statement parameter.

if there is not enough memory available.