take While
inline fun ByteBuffer.takeWhile(predicate: (Byte) -> Boolean): List<Byte>
Content copied to clipboard
inline fun ShortBuffer.takeWhile(predicate: (Short) -> Boolean): List<Short>
Content copied to clipboard
inline fun LongBuffer.takeWhile(predicate: (Long) -> Boolean): List<Long>
Content copied to clipboard
inline fun FloatBuffer.takeWhile(predicate: (Float) -> Boolean): List<Float>
Content copied to clipboard
Returns a list containing first elements satisfying the given predicate.