readUTF8Line

fun ByteReadPacket.readUTF8Line(
    estimate: Int = 16,
    limit: Int = Int.MAX_VALUE
): String?
fun Input.readUTF8Line(
    estimate: Int = 16,
    limit: Int = Int.MAX_VALUE
): String?

Read a string line considering optionally specified estimate but up to optional limit characters length (does fail once limit exceeded) or return null if the packet is empty