encodeToTlvSafe

open fun encodeToTlvSafe(): KmmResult<A>(source)

Safe version of encodeToTlv, wrapping the result into a KmmResult