asBuffer

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

Returns an ArrayBuffer that wraps the original array.


fun DoubleArray.asBuffer(): DoubleBuffer

Returns DoubleBuffer over this array.

Receiver

the array.

Return

the new buffer.


fun FloatArray.asBuffer(): FloatBuffer

Returns FloatBuffer over this array.

Receiver

the array.

Return

the new buffer.


fun IntArray.asBuffer(): IntBuffer

Returns IntBuffer over this array.

Receiver

the array.

Return

the new buffer.


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

Returns an ListBuffer that wraps the original list.


fun LongArray.asBuffer(): LongBuffer

Returns LongBuffer over this array.

Receiver

the array.

Return

the new buffer.


fun ShortArray.asBuffer(): ShortBuffer

Returns ShortBuffer over this array.

Receiver

the array.

Return

the new buffer.