immutableBlobOf

external fun immutableBlobOf(vararg elements: Short): ImmutableBlob(source)

Creates ImmutableBlob out of compile-time constant data.

This method accepts values of Short type in range 0x00..0xff, other values are prohibited.

One element still represent one byte in the output data. This is the only way to create ImmutableBlob for now.

Since Kotlin

1.3