类 ByteBufferAvifDecoder

  • 所有已实现的接口:
    com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,​android.graphics.Bitmap>

    public class ByteBufferAvifDecoder
    extends java.lang.Object
    implements com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,​android.graphics.Bitmap>
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static java.lang.String TAG  
    • 构造器概要

      构造器 
      构造器 说明
      ByteBufferAvifDecoder​(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool bitmapPool)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> decode​(java.nio.ByteBuffer source, int width, int height, com.bumptech.glide.load.Options options)  
      boolean handles​(java.nio.ByteBuffer source, com.bumptech.glide.load.Options options)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • TAG

        public static final java.lang.String TAG
        另请参阅:
        常量字段值
    • 构造器详细资料

      • ByteBufferAvifDecoder

        public ByteBufferAvifDecoder​(@NonNull
                                     com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool bitmapPool)
    • 方法详细资料

      • handles

        public boolean handles​(@NonNull
                               java.nio.ByteBuffer source,
                               @NonNull
                               com.bumptech.glide.load.Options options)
                        throws java.io.IOException
        指定者:
        handles 在接口中 com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,​android.graphics.Bitmap>
        抛出:
        java.io.IOException
      • decode

        @Nullable
        public com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> decode​(@NonNull
                                                                                       java.nio.ByteBuffer source,
                                                                                       int width,
                                                                                       int height,
                                                                                       @NonNull
                                                                                       com.bumptech.glide.load.Options options)
                                                                                throws java.io.IOException
        指定者:
        decode 在接口中 com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,​android.graphics.Bitmap>
        抛出:
        java.io.IOException