Package ghidra.program.model.data

# Class GIFResource

java.lang.Object
ghidra.program.model.data.GIFResource

public class GIFResource extends Object
Class for determining the size of a GIF image. It loads just enough of the GIF information to follow the data block links and read the bytes until the terminator is hit. The amount of bytes read indicate the number of bytes the GIF data type is consume.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GIFResource(MemBuffer buf)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getLength()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GIFResource

    public GIFResource(MemBuffer buf) throws InvalidDataTypeException
    Throws:
      `InvalidDataTypeException`

- ## Method Details

  - ### getLength

    public int getLength()