to Byte Array
external fun ImmutableBlob.toByteArray(startIndex: Int = 0, endIndex: Int = size): ByteArray
Content copied to clipboard
Copies the data from this blob into a new ByteArray.
Parameters
start Index
the beginning (inclusive) of the subrange to copy, 0 by default.
end Index
the end (exclusive) of the subrange to copy, size of this blob by default.