toHex method

String toHex({
  1. int bitLength = -1,
  2. Endian endian = Endian.big,
  3. bool isNegative = false,
})

Implementation

String toHex(
        {int bitLength = -1,
        Endian endian = Endian.big,
        bool isNegative = false}) =>
    bnUtil.bnToHex(toBn(),
        bitLength: bitLength, endian: endian, isNegative: isNegative);