readUTF8LineTo
expect abstract suspend fun <A : Appendable> readUTF8LineTo(out: A, limit: Int): Boolean
Content copied to clipboard
Reads a line of UTF-8 characters to the specified out buffer up to limit characters. Supports both CR-LF and LF line endings. No line ending characters will be appended to out buffer. Throws an exception if the specified limit has been exceeded.
Return
true
if line has been read (possibly empty) or false
if channel has been closed and no characters were read.
actual abstract suspend fun <A : Appendable> readUTF8LineTo(out: A, limit: Int): Boolean
Content copied to clipboard
Reads a line of UTF-8 characters to the specified out buffer up to limit characters. Supports both CR-LF and LF line endings. Throws an exception if the specified limit has been exceeded.
Return
true
if line has been read (possibly empty) or false
if channel has been closed and no characters were read.