Returns a byte array containing the two's-complement
representation of this BigInteger. The byte array will be in
<i>big-endian</i> byte-order: the most significant byte is in
the zeroth element. The array will contain the minimum number
of bytes required to represent this BigInteger, including at
least one sign bit, which is {@code (ceil((this.bitLength() +
1)/8))}. (This representation is compatible with the
{@link #BigInteger(byte[]) (byte[])} constructor.)
@return a byte array containing the two's-complement representation of
this BigInteger.
@see #BigInteger(byte[])
Returns a byte array containing the two's-complement representation of this BigInteger. The byte array will be in <i>big-endian</i> byte-order: the most significant byte is in the zeroth element. The array will contain the minimum number of bytes required to represent this BigInteger, including at least one sign bit, which is {@code (ceil((this.bitLength() + 1)/8))}. (This representation is compatible with the {@link #BigInteger(byte[]) (byte[])} constructor.)
@return a byte array containing the two's-complement representation of this BigInteger. @see #BigInteger(byte[])