cryptography-kotlin
Toggle table of contents
0.5.0
apple
common
native
Platform filter
apple
common
native
Switch theme
Search in API
cryptography-kotlin
cryptography-provider-base
/
dev.whyoleg.cryptography.providers.base
Package-level
declarations
Functions
Properties
Properties
Empty
Byte
Array
Link copied to clipboard
val
EmptyByteArray
:
ByteArray
Functions
check
Bounds
Link copied to clipboard
fun
checkBounds
(
size
:
Int
,
startIndex
:
Int
,
endIndex
:
Int
)
ensure
Size
Exactly
Link copied to clipboard
fun
ByteArray
.
ensureSizeExactly
(
expectedSize
:
Int
)
:
ByteArray
get
Into
Byte
Array
Link copied to clipboard
apple
fun
NSData
.
getIntoByteArray
(
destination
:
ByteArray
,
destinationOffset
:
Int
=
0
)
:
Int
ref
To
U
Link copied to clipboard
native
fun
ByteArray
.
refToU
(
index
:
Int
)
:
CValuesRef
<
UByteVar
>
safe
Address
Of
Link copied to clipboard
native
fun
Pinned
<
ByteArray
>
.
safeAddressOf
(
index
:
Int
)
:
CPointer
<
ByteVar
>
safe
Address
Of
U
Link copied to clipboard
native
fun
Pinned
<
ByteArray
>
.
safeAddressOfU
(
index
:
Int
)
:
CPointer
<
UByteVar
>
safe
Ref
To
Link copied to clipboard
native
fun
ByteArray
.
safeRefTo
(
index
:
Int
)
:
CValuesRef
<
ByteVar
>
safe
Ref
To
U
Link copied to clipboard
native
fun
ByteArray
.
safeRefToU
(
index
:
Int
)
:
CValuesRef
<
UByteVar
>
to
Byte
Array
Link copied to clipboard
apple
fun
NSData
.
toByteArray
(
)
:
ByteArray
to
NSData
Link copied to clipboard
apple
fun
ByteArray
.
toNSData
(
)
:
NSData
use
NSData
Link copied to clipboard
apple
fun
<
R
>
ByteArray
.
useNSData
(
startIndex
:
Int
=
0
,
endIndex
:
Int
=
size
,
block
:
(
NSData
)
->
R
)
:
R