decodeAsn1VarBigInt

Decodes an unsigned Asn1Integer from bytes using varint encoding as used within ASN.1: groups of seven bits are encoded into a byte, while the highest bit indicates if more bytes are to come. Trailing bytes are ignored.

Return

the decoded unsigned BigInteger and the underlying varint-encoded bytes as ByteArray