private void skipContents() throws IOException, InvalidDataTypeException {
		int controlByte = inputStream.read();
		while (controlByte != 0x3b) {
			if (controlByte == 0x2c) {
				skipImage();
			}
			else if (controlByte == 0x21) {
				skipExtension();
			}
			else {
				throw new InvalidDataTypeException("Invalid GIF Data");
			}
			controlByte = inputStream.read();
		}
	}
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.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/GIFResource.java