toggle menu
cryptography-kotlin
0.4.0
common
jsAndWasmJs
jvm
nativeAndWasmWasi
switch theme
search in API
cryptography-bigint
/
dev.whyoleg.cryptography.bigint
Package-level
declarations
common
jsAndWasmJs
jvm
nativeAndWasmWasi
BigInt
: an arbitrary-precision integer.
BigInt
: an arbitrary-precision integer.
BigInt
: an arbitrary-precision integer.
BigInt
: an arbitrary-precision integer.
Types
Functions
Types
Big
Int
Link copied to clipboard
common
jsAndWasmJs
jvm
nativeAndWasmWasi
@
Serializable
(
with
=
BigIntAsStringSerializer::class
)
expect
class
BigInt
:
Number
,
Comparable
<
BigInt
>
@
Serializable
(
with
=
BigIntAsStringSerializer::class
)
actual
class
BigInt
:
Number
,
Comparable
<
BigInt
>
@
Serializable
(
with
=
BigIntAsStringSerializer::class
)
actual
class
BigInt
:
Number
,
Comparable
<
BigInt
>
@
Serializable
(
with
=
BigIntAsStringSerializer::class
)
actual
class
BigInt
:
Number
,
Comparable
<
BigInt
>
Big
Int
As
Byte
Array
Serializer
Link copied to clipboard
object
BigIntAsByteArraySerializer
:
KSerializer
<
BigInt
>
Big
Int
As
String
Serializer
Link copied to clipboard
object
BigIntAsStringSerializer
:
KSerializer
<
BigInt
>
Functions
decode
To
Big
Int
Link copied to clipboard
common
jsAndWasmJs
jvm
nativeAndWasmWasi
expect
fun
ByteArray
.
decodeToBigInt
(
)
:
BigInt
actual
fun
ByteArray
.
decodeToBigInt
(
)
:
BigInt
actual
fun
ByteArray
.
decodeToBigInt
(
)
:
BigInt
actual
fun
ByteArray
.
decodeToBigInt
(
)
:
BigInt
encode
To
Byte
Array
Link copied to clipboard
common
jsAndWasmJs
jvm
nativeAndWasmWasi
expect
fun
BigInt
.
encodeToByteArray
(
)
:
ByteArray
actual
fun
BigInt
.
encodeToByteArray
(
)
:
ByteArray
actual
fun
BigInt
.
encodeToByteArray
(
)
:
ByteArray
actual
fun
BigInt
.
encodeToByteArray
(
)
:
ByteArray
hex
To
Big
Int
Link copied to clipboard
@
ExperimentalStdlibApi
fun
String
.
hexToBigInt
(
format
:
HexFormat
=
HexFormat.Default
)
:
BigInt
to
Big
Int
Link copied to clipboard
common
jsAndWasmJs
jvm
nativeAndWasmWasi
expect
fun
Byte
.
toBigInt
(
)
:
BigInt
expect
fun
Int
.
toBigInt
(
)
:
BigInt
expect
fun
Long
.
toBigInt
(
)
:
BigInt
expect
fun
Short
.
toBigInt
(
)
:
BigInt
expect
fun
String
.
toBigInt
(
)
:
BigInt
expect
fun
UByte
.
toBigInt
(
)
:
BigInt
expect
fun
UInt
.
toBigInt
(
)
:
BigInt
expect
fun
ULong
.
toBigInt
(
)
:
BigInt
expect
fun
UShort
.
toBigInt
(
)
:
BigInt
actual
fun
Byte
.
toBigInt
(
)
:
BigInt
actual
fun
Int
.
toBigInt
(
)
:
BigInt
actual
fun
Long
.
toBigInt
(
)
:
BigInt
actual
fun
Short
.
toBigInt
(
)
:
BigInt
actual
fun
String
.
toBigInt
(
)
:
BigInt
actual
fun
UByte
.
toBigInt
(
)
:
BigInt
actual
fun
UInt
.
toBigInt
(
)
:
BigInt
actual
fun
ULong
.
toBigInt
(
)
:
BigInt
actual
fun
UShort
.
toBigInt
(
)
:
BigInt
actual
fun
Byte
.
toBigInt
(
)
:
BigInt
actual
fun
Int
.
toBigInt
(
)
:
BigInt
actual
fun
Long
.
toBigInt
(
)
:
BigInt
actual
fun
Short
.
toBigInt
(
)
:
BigInt
actual
fun
String
.
toBigInt
(
)
:
BigInt
actual
fun
UByte
.
toBigInt
(
)
:
BigInt
actual
fun
UInt
.
toBigInt
(
)
:
BigInt
actual
fun
ULong
.
toBigInt
(
)
:
BigInt
actual
fun
UShort
.
toBigInt
(
)
:
BigInt
actual
fun
Byte
.
toBigInt
(
)
:
BigInt
actual
fun
Int
.
toBigInt
(
)
:
BigInt
actual
fun
Long
.
toBigInt
(
)
:
BigInt
actual
fun
Short
.
toBigInt
(
)
:
BigInt
actual
fun
String
.
toBigInt
(
)
:
BigInt
actual
fun
UByte
.
toBigInt
(
)
:
BigInt
actual
fun
UInt
.
toBigInt
(
)
:
BigInt
actual
fun
ULong
.
toBigInt
(
)
:
BigInt
actual
fun
UShort
.
toBigInt
(
)
:
BigInt
to
Big
Int
Or
Null
Link copied to clipboard
common
jsAndWasmJs
jvm
nativeAndWasmWasi
expect
fun
String
.
toBigIntOrNull
(
)
:
BigInt
?
actual
fun
String
.
toBigIntOrNull
(
)
:
BigInt
?
actual
fun
String
.
toBigIntOrNull
(
)
:
BigInt
?
actual
fun
String
.
toBigIntOrNull
(
)
:
BigInt
?
to
Hex
String
Link copied to clipboard
@
ExperimentalStdlibApi
fun
BigInt
.
toHexString
(
format
:
HexFormat
=
HexFormat.Default
)
:
String
to
Java
Big
Integer
Link copied to clipboard
jvm
fun
BigInt
.
toJavaBigInteger
(
)
:
BigInteger
to
Kotlin
Big
Int
Link copied to clipboard
jvm
fun
BigInteger
.
toKotlinBigInt
(
)
:
BigInt
to
UByte
Link copied to clipboard
fun
BigInt
.
toUByte
(
)
:
UByte
to
UInt
Link copied to clipboard
fun
BigInt
.
toUInt
(
)
:
UInt
to
ULong
Link copied to clipboard
fun
BigInt
.
toULong
(
)
:
ULong
to
UShort
Link copied to clipboard
fun
BigInt
.
toUShort
(
)
:
UShort