prefixSum

fun prefixSum(buffer: IntArray, count: Int, base: Long)