decodeUTF8Line

fun ByteBuffer.decodeUTF8Line(out: CharArray, offset: Int = 0, length: Int = out.size): Long

Return

packed number of decoded characters to out buffer (highest 32 bits) and number of bytes required to decode the next character, or 0 if buffer has been decoded completely or -1 if end of line has been encountered