ktor-io / io.ktor.utils.io.core / AbstractInput / hasBytes

hasBytes

fun hasBytes(n: Int): Boolean

Return
true if there are at least n bytes to read