ktor-io / io.ktor.utils.io.bits / fill

fill

expect fun Memory.fill(offset: Long, count: Long, value: Byte): Unit
expect fun Memory.fill(offset: Int, count: Int, value: Byte): Unit

Fill memory range starting at the specified offset with value repeated count times.