toggle menu
RootEncoder
androidJvm
switch theme
search in API
encoder
/
com.pedro.encoder.utils.gl.gif
/
GifHeaderParser
Gif
Header
Parser
open
class
GifHeaderParser
A class responsible for creating
GifHeader
s from data representing animated gifs.
Members
Constructors
Gif
Header
Parser
Link copied to clipboard
constructor
(
)
Properties
TAG
Link copied to clipboard
val
TAG
:
String
=
"GifHeaderParser"
Functions
clear
Link copied to clipboard
open
fun
clear
(
)
is
Animated
Link copied to clipboard
open
fun
isAnimated
(
)
:
Boolean
Determines if the GIF is animated by trying to read in the first 2 frames This method reparses the data even if the header has already been read.
parse
Header
Link copied to clipboard
open
fun
parseHeader
(
)
:
GifHeader
set
Data
Link copied to clipboard
open
fun
setData
(
data
:
Array
<
Byte
>
)
:
GifHeaderParser
open
fun
setData
(
data
:
ByteBuffer
)
:
GifHeaderParser