decodeOrNull

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

Exception-free version of decode