android-components / mozilla.components.support.ktx.util

Package mozilla.components.support.ktx.util

Functions

Name Summary
readAndDeserialize fun <T> <ERROR CLASS>.readAndDeserialize(block: (String) -> T): T?
Reads an AtomicFile and provides a deserialized version of its content.
writeString fun <ERROR CLASS>.writeString(block: () -> String): Boolean
Writes an AtomicFile and indicates if the file was wrote.