getByteArrayFromDrawable

Create a byte array out of drawable

Return

The byte array of source drawable

Parameters

drawable

The source drawable

open fun getByteArrayFromDrawable(drawable: Drawable): Array<Byte>