Updated on 2026-08-14

This commit is contained in:
Tangem 2023-04-17 12:37:49 +03:00
parent d4eb48822a
commit f084f256b4
7 changed files with 129 additions and 122 deletions

View file

@ -9,13 +9,9 @@ import java.io.InputStream
*/
interface AssetReader {
/** Read content of json file from asset
* @param fileName - name of the file
* */
/** Read content of json file [fileName] from asset */
fun readJson(fileName: String): String
/** Read content of a file [file] from asset as InputStream
* @param file - name of the file with extension
* */
/** Open a file [file] from asset as InputStream */
fun openFile(file: String): InputStream
}