hasBytes

fun hasBytes(n: Int): Boolean

Return true if there are at least n bytes to read