Int
This enum represents an integer value that can be either a standard 64-bit signed integer or an arbitrary-precision big integer. It provides a flexible way to handle numeric data that may exceed the capacity of standard primitive types while maintaining compatibility with numeric serialization formats.
Attributes
| Attribute | Type | Description |
|---|---|---|
| I64 | i64 | Stores a standard 64-bit signed integer value for basic numeric operations. |
| Big | BigInt | Stores an arbitrary-precision integer value for calculations exceeding the capacity of a 64-bit integer, serialized as a number. |
Constructor
Signature
def I64(
value: i64
) - > [Int](int.md?sid=input_return_enums_int)
Parameters
| Name | Type | Description |
|---|---|---|
| value | i64 | The 64-bit signed integer value to be stored. |
Signature
def Big(
value: BigInt
) - > [Int](int.md?sid=input_return_enums_int)
Parameters
| Name | Type | Description |
|---|---|---|
| value | BigInt | The arbitrary-precision integer value to be stored. |