removeLast

fun removeLast(count: Int)

Drops the trailing count elements without shrinking the backing array.