//preferences/dev.atick.storage.preferences.utils/UserDataSerializer
UserDataSerializer
[androidJvm]\ object UserDataSerializer : Serializer<UserData>
Serializer implementation for serializing and deserializing UserData objects.
Properties
Name | Summary |
---|---|
defaultValue | [androidJvm] open override val defaultValue: UserData The default value of UserData to be used when deserialization fails. |
Functions
Name | Summary |
---|---|
readFrom | [androidJvm] open suspend override fun readFrom(input: InputStream): UserData Reads a UserData object from the provided InputStream. |
writeTo | [androidJvm] open suspend override fun writeTo(t: UserData, output: OutputStream) Writes a UserData object to the provided OutputStream. |