Class BigIntegerUtils


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

      • toBytesUnsigned

        public static byte[] toBytesUnsigned​(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.