ktor-io / io.ktor.utils.io.core / Buffer / reserveStartGap

reserveStartGap

fun reserveStartGap(startGap: Int): Unit

Reserve startGap bytes in the beginning. May move readPosition and writePosition if no bytes available for reading.