lineAt

fun lineAt(byteOffset: Int): Int

Line number (0-based) containing the given byte offset.