asBuffer

fun <T> List<T>.asBuffer(): ListBuffer<T>

Returns an ListBuffer that wraps the original list.

fun <T> Array<T>.asBuffer(): ArrayBuffer<T>

Returns an ArrayBuffer that wraps the original array.

fun FloatArray.asBuffer(): FloatBuffer

Returns FloatBuffer over this array.

Return

the new buffer.

fun IntArray.asBuffer(): IntBuffer

Returns IntBuffer over this array.

Return

the new buffer.

fun LongArray.asBuffer(): LongBuffer

Returns LongBuffer over this array.

Return

the new buffer.

fun DoubleArray.asBuffer(): RealBuffer

Returns RealBuffer over this array.

Return

the new buffer.

fun ShortArray.asBuffer(): ShortBuffer

Returns ShortBuffer over this array.

Return

the new buffer.