Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToBigInt ¶
Decodes a byte array (ASCII encoding of a signed integer) into a big integer
func FromByteArray ¶
*
- Returns the big.Int based on the passed byte-array assuming the byte-array contains
- the two's-complement representation of this big.Int. The byte array will be in big-endian 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 (ceil((this.bitLength() + 1)/8)).
func ParseInput ¶
Decodes a byte array (ASCII encoding of comma-separated integers) into an array of big integers
func ToByteArray ¶
*
- Returns a byte array containing the two's-complement representation of this big.Int.
- The byte array will be in big-endian 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 (ceil((this.bitLength() + 1)/8)).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.