asSource

fun asSource(startOffset: Long = 0, closeFileOnClose: Boolean = true): Source

Returns a buffered kotlinx.io.Source that reads from this file.