tuweni / org.apache.tuweni.bytes / Bytes / toBigInteger

toBigInteger

open fun toBigInteger(): BigInteger! (source)

The BigInteger corresponding to interpreting these bytes as a two's-complement signed integer.

Return
BigInteger!: A BigInteger corresponding to interpreting these bytes as a two's-complement signed integer.

open fun toBigInteger(order: ByteOrder!): BigInteger! (source)

The BigInteger corresponding to interpreting these bytes as a two's-complement signed integer.

Parameters

order - ByteOrder!: The byte-order for decoding the integer.

Return
BigInteger!: A BigInteger corresponding to interpreting these bytes as a two's-complement signed integer.