Glide
Glide
/
com.bumptech.glide.load.resource.bytes
/
BytesResource
Bytes
Resource
open
class
BytesResource
:
Resource
<
Z
>
Content copied to clipboard
An
com.bumptech.glide.load.engine.Resource
wrapping a byte array.
Constructors
Functions
Constructors
Bytes
Resource
Link copied to clipboard
open
fun
BytesResource
(
bytes
:
Array
<
Byte
>
)
Content copied to clipboard
Functions
get
Link copied to clipboard
open
fun
get
(
)
:
Array
<
Byte
>
Content copied to clipboard
In most cases it will only be retrieved once (see linked methods).
get
Resource
Class
Link copied to clipboard
open
fun
getResourceClass
(
)
:
Class
<
Array
<
Byte
>
>
Content copied to clipboard
Returns the
Class
of the wrapped resource.
get
Size
Link copied to clipboard
open
fun
getSize
(
)
:
Int
Content copied to clipboard
Returns the size in bytes of the wrapped resource to use to determine how much of the memory cache this resource uses.
recycle
Link copied to clipboard
open
fun
recycle
(
)
Content copied to clipboard
Cleans up and recycles internal resources.