starknet-jvm
0.15.0
jvm
starknet-jvm
/
com.swmansion.starknet.data.types
/
NumAsHexBase
Num
As
Hex
Base
sealed
class
NumAsHexBase
:
Comparable
<
NumAsHexBase
>
Inheritors
Felt
NumAsHex
Uint128
Uint256
Uint64
Members
Members & Extensions
Properties
to
Felt
Link copied to clipboard
val
NumAsHexBase
.
toFelt
:
Felt
to
Num
As
Hex
Link copied to clipboard
val
NumAsHexBase
.
toNumAsHex
:
NumAsHex
to
Uint128
Link copied to clipboard
val
NumAsHexBase
.
toUint128
:
Uint128
to
Uint256
Link copied to clipboard
val
NumAsHexBase
.
toUint256
:
Uint256
to
Uint64
Link copied to clipboard
val
NumAsHexBase
.
toUint64
:
Uint64
value
Link copied to clipboard
open
val
value
:
BigInteger
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
NumAsHexBase
)
:
Int
dec
String
Link copied to clipboard
abstract
fun
decString
(
)
:
String
Encode as decimal string.
hex
String
Link copied to clipboard
abstract
fun
hexString
(
)
:
String
Encode as hexadecimal string, including "0x" prefix.