public class GifHeaderParser extends Object
GifHeader
s from data
representing animated GIFs.构造器和说明 |
---|
GifHeaderParser() |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
boolean |
isAnimated()
Determines if the GIF is animated by trying to read in the first 2 frames
This method re-parses the data even if the header has already been read.
|
GifHeader |
parseHeader() |
GifHeaderParser |
setData(byte[] data) |
GifHeaderParser |
setData(ByteBuffer data) |
public GifHeaderParser setData(@NonNull ByteBuffer data)
public GifHeaderParser setData(@Nullable byte[] data)
public void clear()
public boolean isAnimated()