cryptography-kotlin
Toggle table of contents
0.6.0
common
jvm
nativeAndWasmWasi
web
Target filter
common
jvm
nativeAndWasmWasi
web
Switch theme
Search in API
Skip to content
cryptography-kotlin
cryptography-bigint
/
dev.whyoleg.cryptography.bigint
/
BigInt
Big
Int
common
jvm
nativeAndWasmWasi
web
@
Serializable
(
with
=
BigIntAsStringSerializer::class
)
expect
class
BigInt
:
Number
,
Comparable
<
BigInt
>
(
source
)
@
Serializable
(
with
=
BigIntAsStringSerializer::class
)
actual
class
BigInt
:
Number
,
Comparable
<
BigInt
>
(
source
)
@
Serializable
(
with
=
BigIntAsStringSerializer::class
)
actual
class
BigInt
:
Number
,
Comparable
<
BigInt
>
(
source
)
@
Serializable
(
with
=
BigIntAsStringSerializer::class
)
actual
class
BigInt
:
Number
,
Comparable
<
BigInt
>
(
source
)
Members
Members & Extensions
Types
Companion
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
object
Companion
actual
object
Companion
actual
object
Companion
actual
object
Companion
Properties
absolute
Value
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
val
absoluteValue
:
BigInt
actual
val
absoluteValue
:
BigInt
actual
val
absoluteValue
:
BigInt
actual
val
absoluteValue
:
BigInt
sign
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
val
sign
:
Int
actual
val
sign
:
Int
actual
val
sign
:
Int
actual
val
sign
:
Int
Functions
compare
To
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
operator override
fun
compareTo
(
other
:
BigInt
)
:
Int
expect
operator
fun
compareTo
(
other
:
Byte
)
:
Int
expect
operator
fun
compareTo
(
other
:
Int
)
:
Int
expect
operator
fun
compareTo
(
other
:
Long
)
:
Int
expect
operator
fun
compareTo
(
other
:
Short
)
:
Int
actual
open
operator override
fun
compareTo
(
other
:
BigInt
)
:
Int
actual
operator
fun
compareTo
(
other
:
Byte
)
:
Int
actual
operator
fun
compareTo
(
other
:
Int
)
:
Int
actual
operator
fun
compareTo
(
other
:
Long
)
:
Int
actual
operator
fun
compareTo
(
other
:
Short
)
:
Int
actual
open
operator override
fun
compareTo
(
other
:
BigInt
)
:
Int
actual
operator
fun
compareTo
(
other
:
Byte
)
:
Int
actual
operator
fun
compareTo
(
other
:
Int
)
:
Int
actual
operator
fun
compareTo
(
other
:
Long
)
:
Int
actual
operator
fun
compareTo
(
other
:
Short
)
:
Int
actual
open
operator override
fun
compareTo
(
other
:
BigInt
)
:
Int
actual
operator
fun
compareTo
(
other
:
Byte
)
:
Int
actual
operator
fun
compareTo
(
other
:
Int
)
:
Int
actual
operator
fun
compareTo
(
other
:
Long
)
:
Int
actual
operator
fun
compareTo
(
other
:
Short
)
:
Int
encode
To
Byte
Array
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
fun
BigInt
.
encodeToByteArray
(
)
:
ByteArray
actual
fun
BigInt
.
encodeToByteArray
(
)
:
ByteArray
actual
fun
BigInt
.
encodeToByteArray
(
)
:
ByteArray
actual
fun
BigInt
.
encodeToByteArray
(
)
:
ByteArray
equals
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
actual
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
actual
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
actual
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
override
fun
hashCode
(
)
:
Int
actual
open
override
fun
hashCode
(
)
:
Int
actual
open
override
fun
hashCode
(
)
:
Int
actual
open
override
fun
hashCode
(
)
:
Int
magnitude
To
Byte
Array
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
fun
magnitudeToByteArray
(
)
:
ByteArray
actual
fun
magnitudeToByteArray
(
)
:
ByteArray
actual
fun
magnitudeToByteArray
(
)
:
ByteArray
actual
fun
magnitudeToByteArray
(
)
:
ByteArray
to
Byte
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
override
fun
toByte
(
)
:
Byte
actual
open
override
fun
toByte
(
)
:
Byte
actual
open
override
fun
toByte
(
)
:
Byte
actual
open
override
fun
toByte
(
)
:
Byte
to
Double
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
override
fun
toDouble
(
)
:
Double
actual
open
override
fun
toDouble
(
)
:
Double
actual
open
override
fun
toDouble
(
)
:
Double
actual
open
override
fun
toDouble
(
)
:
Double
to
Float
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
override
fun
toFloat
(
)
:
Float
actual
open
override
fun
toFloat
(
)
:
Float
actual
open
override
fun
toFloat
(
)
:
Float
actual
open
override
fun
toFloat
(
)
:
Float
to
Hex
String
Link copied to clipboard
fun
BigInt
.
toHexString
(
format
:
HexFormat
=
HexFormat.Default
)
:
String
to
Int
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
override
fun
toInt
(
)
:
Int
actual
open
override
fun
toInt
(
)
:
Int
actual
open
override
fun
toInt
(
)
:
Int
actual
open
override
fun
toInt
(
)
:
Int
to
Java
Big
Integer
Link copied to clipboard
jvm
fun
BigInt
.
toJavaBigInteger
(
)
:
BigInteger
to
Long
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
override
fun
toLong
(
)
:
Long
actual
open
override
fun
toLong
(
)
:
Long
actual
open
override
fun
toLong
(
)
:
Long
actual
open
override
fun
toLong
(
)
:
Long
to
Short
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
override
fun
toShort
(
)
:
Short
actual
open
override
fun
toShort
(
)
:
Short
actual
open
override
fun
toShort
(
)
:
Short
actual
open
override
fun
toShort
(
)
:
Short
to
String
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
open
override
fun
toString
(
)
:
String
actual
open
override
fun
toString
(
)
:
String
actual
open
override
fun
toString
(
)
:
String
actual
open
override
fun
toString
(
)
:
String
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
unary
Minus
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
operator
fun
unaryMinus
(
)
:
BigInt
actual
operator
fun
unaryMinus
(
)
:
BigInt
actual
operator
fun
unaryMinus
(
)
:
BigInt
actual
operator
fun
unaryMinus
(
)
:
BigInt
unary
Plus
Link copied to clipboard
common
jvm
nativeAndWasmWasi
web
expect
operator
fun
unaryPlus
(
)
:
BigInt
actual
operator
fun
unaryPlus
(
)
:
BigInt
actual
operator
fun
unaryPlus
(
)
:
BigInt
actual
operator
fun
unaryPlus
(
)
:
BigInt