src/PelDataWindow.php
public function getByte($offset = 0)
    {
        /*
         * Validate the offset --- this throws an exception if offset is
         * out of range.
         */
        $this->validateOffset($offset);

        /* Translate the offset into an offset into the data. */
        $offset += $this->start;

        /* Return an unsigned byte. */
        return PelConvert::bytesToByte($this->data, $offset);
    }
public function getByte($offset = 0)
    {
        /*
         * Validate the offset --- this throws an exception if offset is
         * out of range.
         */
        $this->validateOffset($offset);

        /* Translate the offset into an offset into the data. */
        $offset += $this->start;

        /* Return an unsigned byte. */
        return PelConvert::bytesToByte($this->data, $offset);
    }
public function getByte ( $ offset = 0 ) { /*
         * Validate the offset --- this throws an exception if offset is
         * out of range.
         */ $ this -> validateOffset ( $ offset ) ; /* Translate the offset into an offset into the data. */ $ offset += $ this -> start ; /* Return an unsigned byte. */ return PelConvert :: bytesToByte ( $ this -> data , $ offset ) ; }
Return an unsigned byte from the data.

@param integer $offset
the offset into the data. An offset of zero will
return the first byte in the current allowed window. The last
valid offset is equal to {@link getSize()}-1. Invalid offsets
will result in a {@link PelDataWindowOffsetException} being
thrown.

@return integer the unsigned byte found at offset.
@throws PelDataWindowOffsetException
Return an unsigned byte from the data .