Glide
Glide
/
com.bumptech.glide.load.resource.bitmap
/
ByteBufferBitmapDecoder
Byte
Buffer
Bitmap
Decoder
open
class
ByteBufferBitmapDecoder
:
ResourceDecoder
<
T
,
Z
>
Content copied to clipboard
Decodes Bitmaps from
ByteBuffers
.
Constructors
Functions
Constructors
Byte
Buffer
Bitmap
Decoder
Link copied to clipboard
open
fun
ByteBufferBitmapDecoder
(
downsampler
:
Downsampler
)
Content copied to clipboard
Functions
decode
Link copied to clipboard
open
fun
decode
(
source
:
ByteBuffer
,
width
:
Int
,
height
:
Int
,
options
:
Options
)
:
Resource
<
Bitmap
>
Content copied to clipboard
Returns a decoded resource from the given data or null if no resource could be decoded.
handles
Link copied to clipboard
open
fun
handles
(
source
:
ByteBuffer
,
options
:
Options
)
:
Boolean
Content copied to clipboard
Returns
true
if this decoder is capable of decoding the given source with the given options, and
false
otherwise.