assertTag

asserts that this element's tag matches tag.

Throws


inline fun <T : Asn1Element> T.assertTag(tagNumber: ULong): T(source)

Asserts only the tag number, but neither class, nor CONSTRUCTED bit.

See also

Throws