mapIndexed

open fun Buffer<T>.mapIndexed(block: A.(index: Int, arg: T) -> T): Buffer<T>(source)