ASN1Integer.fromInt constructor

ASN1Integer.fromInt(
  1. int x, {
  2. int tag = INTEGER_TYPE,
})

Implementation

ASN1Integer.fromInt(int x, {super.tag = INTEGER_TYPE}) {
  valueAsBigInteger = BigInt.from(x);
  _encode();
}