dropWhile

inline fun ByteBuffer.dropWhile(predicate: (Byte) -> Boolean): List<Byte>
inline fun ShortBuffer.dropWhile(predicate: (Short) -> Boolean): List<Short>
inline fun IntBuffer.dropWhile(predicate: (Int) -> Boolean): List<Int>
inline fun LongBuffer.dropWhile(predicate: (Long) -> Boolean): List<Long>
inline fun FloatBuffer.dropWhile(predicate: (Float) -> Boolean): List<Float>
inline fun DoubleBuffer.dropWhile(predicate: (Double) -> Boolean): List<Double>

Returns a list containing all elements except first elements that satisfy the given predicate.

Samples

kool.buffers.Collections.Transformations.drop