public interface

BitmapFactoryImageDecoder.BitmapDecoder

 androidx.media3.exoplayer.image.BitmapFactoryImageDecoder.BitmapDecoder

Overview

A functional interface for turning byte arrays into bitmaps.

Summary

Methods
public Bitmapdecode(byte[] data[], int length)

Decodes data into a Bitmap.

Methods

public Bitmap decode(byte[] data[], int length)

Decodes data into a Bitmap.

Parameters:

data: An array holding the data to be decoded, starting at position 0.
length: The length of the input to be decoded.

Returns:

The decoded Bitmap.