dropLast

fun ByteBuffer.dropLast(n: Int): List<Byte>
fun ShortBuffer.dropLast(n: Int): List<Short>
fun IntBuffer.dropLast(n: Int): List<Int>
fun LongBuffer.dropLast(n: Int): List<Long>
fun FloatBuffer.dropLast(n: Int): List<Float>
fun DoubleBuffer.dropLast(n: Int): List<Double>
fun CharBuffer.dropLast(n: Int): List<Char>

Returns a list containing all elements except last n elements.

Samples

kool.buffers.Collections.Transformations.drop

Throws