IoTeX client
|
Represents an unigned integer of up to 256 bytes. More...
#include <bignum.h>
Public Member Functions | |
Bignum () | |
Default constructor. Constructs a Bignum with the value of 0. | |
Bignum (const char *str, NumericBase base) | |
Constructs a Bignum from a string value. More... | |
IotexString | ToString (NumericBase base) const |
Returns the value as a string. More... | |
Bignum & | operator= (const Bignum &bignum) |
bool | operator== (const Bignum &c) const |
Represents an unigned integer of up to 256 bytes.
Bignum::Bignum | ( | const char * | str, |
NumericBase | base | ||
) |
Constructs a Bignum from a string value.
str | The value. |
base | The numeric base of the string (Decimal or Hexadecimal). |
IotexString Bignum::ToString | ( | NumericBase | base | ) | const |
Returns the value as a string.
base | The numeric base to use (Decimal or Hexadecimal). |