decodeFromTlv

open fun decodeFromTlv(src: A, assertTag: Asn1Element.Tag? = null): T(source)

Processes an A, parsing it into an instance of T

Throws

if invalid data is provided. Specify assertTag for verifying implicitly tagged elements' tags (and better not override this function).