Constructor
new BaseValue(size, value, isSigned)
- Description:
Creates a base value.
- Source:
Parameters:
Name | Type | Default | Description |
---|---|---|---|
size |
number | Size of the integer. |
|
value |
number | bigint | Value. |
|
isSigned |
boolean |
false
|
\c true if the value should be treated as signed. |
Members
isSigned :boolean
- Description:
\c true if the value should be treated as signed.
- Source:
\c true if the value should be treated as signed.
Type:
- boolean
size :number
- Description:
Size of the integer.
- Source:
Size of the integer.
Type:
- number
value :number|bigint
- Description:
Value.
- Source:
Value.
Type:
- number | bigint
Methods
toString() → {string}
- Description:
Converts base value to string.
- Source:
Returns:
String representation.
- Type
- string