ktor-io / io.ktor.utils.io / ByteChannelSequentialJVM / lookAhead

lookAhead

fun <R> lookAhead(visitor: LookAheadSession.() -> R): R

Overrides ByteReadChannel.lookAhead