openSource

suspend fun openSource(path: String): Source

Opens and returns a buffered kotlinx.io.Source for reading the file at path. Closing the returned Source also closes the underlying SmbFile handle.