ktor-io / io.ktor.utils.io.core / Input / tryPeek

tryPeek

fun tryPeek(): Int

Returns next byte (unsigned) or -1 if no more bytes available