protected function getInitialLength()
    {
        if (!isset($this->buffer[self::BYTE_INITIAL_LENGTH])) {
            throw new FrameException('Cannot yet tell expected length');
        }
        $a = (int)(ord($this->buffer[self::BYTE_INITIAL_LENGTH]) & self::BITFIELD_INITIAL_LENGTH);

        return (int)(ord($this->buffer[self::BYTE_INITIAL_LENGTH]) & self::BITFIELD_INITIAL_LENGTH);
    }
protected function getInitialLength()
    {
        if (!isset($this->buffer[self::BYTE_INITIAL_LENGTH])) {
            throw new FrameException('Cannot yet tell expected length');
        }
        $a = (int)(ord($this->buffer[self::BYTE_INITIAL_LENGTH]) & self::BITFIELD_INITIAL_LENGTH);

        return (int)(ord($this->buffer[self::BYTE_INITIAL_LENGTH]) & self::BITFIELD_INITIAL_LENGTH);
    }
protected function getInitialLength ( ) { if ( ! isset ( $ this -> buffer [ self :: BYTE_INITIAL_LENGTH ] ) ) { throw new FrameException ( 'Cannot yet tell expected length' ) ; } $ a = ( int ) ( ord ( $ this -> buffer [ self :: BYTE_INITIAL_LENGTH ] ) & self :: BITFIELD_INITIAL_LENGTH ) ; return ( int ) ( ord ( $ this -> buffer [ self :: BYTE_INITIAL_LENGTH ] ) & self :: BITFIELD_INITIAL_LENGTH ) ; }
Gets the inital length value, stored in the first length byte
This determines how the rest of the length value is parsed out of the
frame.

@return int
Gets the inital length value stored in the first length byte This determines how the rest of the length value is parsed out of the frame .