code: synchronized int read(byte[] data) {
          this.header = getHeaderParser().setData(data).parseHeader();
          if (data != null) {
              setData(header, data);
          }
  
          return status;
      }
docs: Reads GIF image from byte array.
  
  @param data containing GIF file.
  @return read status code (0 = no errors).