getDrawableFromByteArray

Decode byte array to drawable object

Return

The drawable created from source byte array

Parameters

array

The source byte array

context
open fun getDrawableFromByteArray(context: Context, array: Array<Byte>): Drawable