source

fun source(fileOffset: Long = 0): Source

Returns a source that reads from this starting at fileOffset. The returned source must be closed when it is no longer needed.