ByteBufferGifDecoder
An com.bumptech.glide.load.ResourceDecoder that decodes from java.io.InputStream data.
Constructors
Link copied to clipboard
Link copied to clipboard
open fun ByteBufferGifDecoder( context: Context, parsers: List<ImageHeaderParser>, bitmapPool: BitmapPool, arrayPool: ArrayPool)
Content copied to clipboard
Functions
Link copied to clipboard
open fun decode( source: ByteBuffer, width: Int, height: Int, options: Options): GifDrawableResource
Content copied to clipboard
Returns a decoded resource from the given data or null if no resource could be decoded.
Link copied to clipboard
Returns
true
if this decoder is capable of decoding the given source with the given options, and false
otherwise.