RangeHeader\RangeHeader::getLastBytePosition PHP Method

getLastBytePosition() public method

public getLastBytePosition ( )
    public function getLastBytePosition()
    {
        if ($this->last_byte === null) {
            return $this->filesize - 1;
        }
        return $this->last_byte;
    }