Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.bumptech.glide.load.resource.transcode;
|
||||
|
||||
import com.bumptech.glide.load.Options;
|
||||
import com.bumptech.glide.load.engine.Resource;
|
||||
import com.bumptech.glide.load.resource.bytes.BytesResource;
|
||||
import com.bumptech.glide.load.resource.gif.GifDrawable;
|
||||
import com.bumptech.glide.util.ByteBufferUtil;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class GifDrawableBytesTranscoder implements ResourceTranscoder<GifDrawable, byte[]> {
|
||||
@Override // com.bumptech.glide.load.resource.transcode.ResourceTranscoder
|
||||
public Resource<byte[]> a(Resource<GifDrawable> resource, Options options) {
|
||||
return new BytesResource(ByteBufferUtil.b(resource.get().b()));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user