rememberReadTextFromUri

actual fun rememberReadTextFromUri(): suspend (CommonUri, maxChars: Int) -> String?(source)

Returns a suspend function that reads up to maxChars characters of text from a CommonUri. Returns null if the file is empty or cannot be read.

expect fun rememberReadTextFromUri(): suspend (CommonUri, maxChars: Int) -> String?(source)

Returns a suspend function that reads up to maxChars characters of text from a CommonUri. Returns null if the file is empty or cannot be read.

actual fun rememberReadTextFromUri(): suspend (CommonUri, maxChars: Int) -> String?(source)

JVM — Reads text from a file URI.