src/Method/Native/GzipExtractor/BitReader.php
protected function readByte()
    {
        if (feof($this->fileHandler)) {
            return false;
        }

        $data = unpack('C1byte', fread($this->fileHandler, 1));
        $this->currentByte = $data['byte'];
        $this->currentBitPosition = 0;

        return true;
    }
protected function readByte()
    {
        if (feof($this->fileHandler)) {
            return false;
        }

        $data = unpack('C1byte', fread($this->fileHandler, 1));
        $this->currentByte = $data['byte'];
        $this->currentBitPosition = 0;

        return true;
    }
protected function readByte ( ) { if ( feof ( $ this -> fileHandler ) ) { return false ; } $ data = unpack ( 'C1byte' , fread ( $ this -> fileHandler , 1 ) ) ; $ this -> currentByte = $ data [ 'byte' ] ; $ this -> currentBitPosition = 0 ; return true ; }
Reads a byte from the file.

@return bool
Reads a byte from the file .