Class BigIntegerUtils


  • public class BigIntegerUtils
    extends java.lang.Object
    Big integer utilities.
    Version:
    2013-03-21
    Author:
    Vladimir Dzhuvinov
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] toBytesUnsigned​(java.math.BigInteger bigInt)
      Returns a byte array representation of the specified big integer without the sign bit.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toBytesUnsigned

        public static byte[] toBytesUnsigned​(java.math.BigInteger bigInt)
        Returns a byte array representation of the specified big integer without the sign bit.
        Parameters:
        bigInt - The big integer to be converted. Must not be null.
        Returns:
        A byte array representation of the big integer, without the sign bit.