fromDecimalString

fun fromDecimalString(input: String, maxInputLength: Int = DEFAULT_MAX_INPUT_LENGTH): Asn1Integer(source)

Constructs an Asn1Integer from a decimal string. O(n²) in the significant digit count, so bounded by maxInputLength, excluding the sign and leading zeros. Input beyond this will throw.

Throws

if the significant digit count exceeds maxInputLength