encodeToTlvOrNull

open fun encodeToTlvOrNull(): A?(source)

Exception-free version of encodeToTlv