lib/Type/TypeJpeg.php
protected function getNextMarker(&$i, &$sofStartRead)
	{
		$this->skipStartPadding($i, $sofStartRead);

		do {
			if ($i >= $this->dataLength)
			{
				return self::JPEG_EOI_MARKER;
			}
			$marker = $this->data[$i];
			$i++;
		} while ($marker == self::SOF_START_MARKER);

		return $marker;
	}
protected function getNextMarker(&$i, &$sofStartRead)
	{
		$this->skipStartPadding($i, $sofStartRead);

		do {
			if ($i >= $this->dataLength)
			{
				return self::JPEG_EOI_MARKER;
			}
			$marker = $this->data[$i];
			$i++;
		} while ($marker == self::SOF_START_MARKER);

		return $marker;
	}
protected function getNextMarker ( & $ i , & $ sofStartRead ) { $ this -> skipStartPadding ( $ i , $ sofStartRead ) ; do { if ( $ i >= $ this -> dataLength ) { return self :: JPEG_EOI_MARKER ; } $ marker = $ this -> data [ $ i ] ; $ i ++ ; } while ( $ marker == self :: SOF_START_MARKER ) ; return $ marker ; }
Get next JPEG marker in file

@param int $i Current index
@param bool $sofStartRead Flag whether SOF start padding was already read

@return string Next JPEG marker in file
Get next JPEG marker in file