toUByteArray

Native
1.3
@DeprecatedSinceKotlin ( "1.9" ) @ExperimentalUnsignedTypes fun ImmutableBlob . toUByteArray (
startIndex : Int = 0 ,
endIndex : Int = size
) : UByteArray

(source)
Deprecated: ImmutableBlob is deprecated. Use ByteArray instead.

Copies the data from this blob into a new UByteArray .

Parameters

startIndex - the beginning (inclusive) of the subrange to copy, 0 by default.

endIndex - the end (exclusive) of the subrange to copy, size of this blob by default.