# GifHeaderParser

open class GifHeaderParser

A class responsible for creating GifHeaders from data representing animated gifs.

## Constructors

GifHeaderParser
Link copied to clipboard
constructor()

## Properties

TAG
Link copied to clipboard
val TAG: String = "GifHeaderParser"

## Functions

clear
Link copied to clipboard
open fun clear()
isAnimated
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.
parseHeader
Link copied to clipboard
open fun parseHeader(): GifHeader
setData
Link copied to clipboard
open fun setData(data: Array<Byte>): GifHeaderParser
open fun setData(data: ByteBuffer): GifHeaderParser