decodeOrNull

inline fun <T> Asn1Primitive.decodeOrNull(tag: ULong, transform: (content: ByteArray) -> T): T?(source)

Exception-free version of decode