android-components / mozilla.components.browser.icons.decoder / AndroidIconDecoder

AndroidIconDecoder

class AndroidIconDecoder : IconDecoder (source)

IconDecoder that will use Android’s BitmapFactory in order to decode the byte data.

Constructors

Name Summary
<init> AndroidIconDecoder()
IconDecoder that will use Android’s BitmapFactory in order to decode the byte data.

Functions

Name Summary
decode fun decode(data: ByteArray, desiredSize: DesiredSize): <ERROR CLASS>?
Decodes the given data into a a Bitmap or null.