toLongArray

fun Buffer<Long>.toLongArray(): LongArray

Returns a new LongArray containing all of the elements of this Buffer.