filterNotZeroTo

fun <C : MutableCollection<Byte>> ByteBuffer.filterNotZeroTo(destination: C): C
fun <C : MutableCollection<Short>> ShortBuffer.filterNotZeroTo(destination: C): C
fun <C : MutableCollection<Int>> IntBuffer.filterNotZeroTo(destination: C): C
fun <C : MutableCollection<Long>> LongBuffer.filterNotZeroTo(destination: C): C
fun <C : MutableCollection<Float>> FloatBuffer.filterNotZeroTo(destination: C): C
fun <C : MutableCollection<Double>> DoubleBuffer.filterNotZeroTo(destination: C): C
fun <C : MutableCollection<Char>> CharBuffer.filterNotZeroTo(destination: C): C

Appends all elements that are not null to the given destination.

Samples

kool.buffers.Collections.Filtering.filterNotZeroTo