ImportanceHeight⚓︎
- ImportanceHeight
- Represents a base integer.
Extends⚓︎
Constructors⚓︎
new ImportanceHeight()⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
importanceHeight? |
bigint |
Returns⚓︎
ImportanceHeight
Overrides⚓︎
Properties⚓︎
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
isSigned |
public |
boolean |
\c true if the value should be treated as signed. | BaseValue.isSigned |
size |
public |
number |
Size of the integer. | BaseValue.size |
value |
public |
number | bigint |
Value. | BaseValue.value |
SIZE |
static |
number |
- | - |
Methods⚓︎
serialize()⚓︎
Returns⚓︎
Uint8Array<ArrayBufferLike>
toJson()⚓︎
- ImportanceHeight.serialize
- Returns representation of this object that can be stored in JSON.
Returns⚓︎
string | number
JSON-safe representation of this object.
Inherited from⚓︎
toString()⚓︎
- ImportanceHeight.toString
- Converts base value to string.
Returns⚓︎
string
String representation.
Inherited from⚓︎
deserialize()⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
payload |
any |
Returns⚓︎
ImportanceHeight
deserializeAligned()⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
payload |
any |
Returns⚓︎
ImportanceHeight