writeTo

open suspend override fun writeTo(t: UserSecretPreferences, output: OutputStream)

Don't change the name of the params, otherwise you'll get warnings because of the supertype 'Serializer'