decodeAsn1VarBigInt

Decodes one arbitrary-size ASN.1 varint, consuming at most limit bytes.