decodeToImageBitmap

Function

Common
fun ByteArray.decodeToImageBitmap(): ImageBitmap

Decodes a byte array of a Bitmap to an ImageBitmap.

Returns

The converted ImageBitmap.